Reply to Re: Linux insert <br> utility?

Your name:

Reply:


Posted by Lauri Raittila on 06/18/05 13:50

in alt.html, wcb wrote:
> I am using Linux and Bluefish.
> I have a lot of long documents I want html-ize.

Learn perl.

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

sed
man sed

> Most utilities I see seem to be for Windows.

Because nobody needs any *extra* utilies for something that simple in
linux... there is some other tool as well, even more simple, but I don't
recall what it is called...

> I am looking for something that can do batch
> processing if possible, doing an entire folder
> at one shot.

sed -i 's/$/<br>/g;' *.html
(if I got it right...)

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Support me, buy Opera:
https://secure.bmtmicro.com/opera/buy-opera.html?AID=882173

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация