> 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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e2d9f06a7090d930def87db5bba9b53a.squir...@squirrelmail.hal-pc.org