Re: automated editing of text files
> I have a bunch of files where I need an extra line after a <pre> code. So
> I need to change <pre>CRLF (or <pre>LF) to <pre>CRLFCRLF.
>
> Which toool can I use for that, I can't remember which tool is a good one
> for this and google is no help.
> I am not fluent in any of the programming languages but I do write bash
> scripts.
A Perl script is a very nice way -- likely the very best way -- to do
this. You can write a script to operate automatically on every file in a
directory, searching for the <pre> code and making the insertion.
RLH
Reply to: