On Fri, 16 Sep 2011 17:01:40 +0200, Bonno Bloksma wrote:

> 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.

I bet you can do this with a bash script for looping into the text files 
and then replacing the text with "sed".

Yep, something like this:

http://www.cyberciti.biz/faq/unix-linux-replace-string-words-in-many-files/

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.15.13...@gmail.com

Reply via email to