19 Sep
2011
19 Sep
'11
08:17
Peter Nikolic wrote:
Hi .
This is slightly OT but not too bad i hope .
I have a numbver of .js files that are strung out in one huge line of text they are a real pain to do anything with and take an age to load and edit
Is there a way other than sitting ther and manually sorting the of doing it automatically ..
You could try something like this:
sed -e 's/{/\n{/' -e s'/}/}\n/'