You are here: Re: Linux insert <br> utility? « HTML « IT news, forums, messages
Re: Linux insert <br> utility?

Posted by JDS on 06/20/05 17:01

On Sun, 19 Jun 2005 07:02:14 -0500, WCB wrote:

> But it still lacks recursive abilities.
> I played with SED a bit. It still seems
> to need a script to walk a tree.

Use "find" combined with "perl" (if you are using a unixy OS)

find . -name "*html" -exec perl -p -i- e 's/$/<br>/' {} \;

later...

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

Navigation:

[Reply to this 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

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