clean_json.sh 146 Bytes
Newer Older
David Hrbáč's avatar
David Hrbáč committed
1 2 3 4 5 6
#!/bin/bash
sed 's/\\u00a0/ /g' -i "$@"
sed 's,\\n\\n, ,g' -i "$@"
sed 's,\\n , ,g' -i "$@"
sed 's, \\n, ,g' -i "$@"
sed -e 's/^[ \t]*//' -i "$@"