Mushy-pea 36 What, you can change this tag?

It's more a case of where we'll draw the line. I'd just refuse to give a sample if it came to that. Same with identity cards or having to tell the government the moment I move house. In any case, the real solution in the UK is not having a load of horrible "types" around in the first place. Can't say I can come up with an answer to that one.

Steven.

Mushy-pea 36 What, you can change this tag?

Hi Avik. What you require is a program that replaces each instance of \n with \n\n. This could easily be done in Perl, but is so simple it would be neater to use sed. Seeing as you said a Unix script would be OK I'll assume you've got sed on your system and that you're in fact using a Unix system. In this case type the following into the shell:

cd /usr/bin
sed 's/\\n/\\n\\n/gw /path_to_file/new_file.txt' <good.txt

To add spaces before the start of each paragraph just add them to the end of the regex (between the first // block). If a mod reads this feel free to move it to the Unix scripts forum. I hope this helps.

Steven.