bash sed space replacement
Posted on 2006-06-14
I have a bunch of files in a folder
For all the files here is what I want to do:
Insert "<br>" and the same number of spaces (in this format " ") into all the lines that start with one or more space (these spaces will just be blank space and not in the format). Ideally I would like to do this only for lines that are not blank - but I don't care too much if I have the end up doing that.
any ideas - thanks.