Posted by David Dorward on 06/18/05 13:58
wcb wrote:
> I am looking for some sort of little Linux utility
> where I could insert <br>'s into an existing file.
> Is there such a quick and dirty beastie for Linux?
perl -i.bak -p -n -e 's/\n/<br>\n/' myTextFile
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
[Back to original message]
|