Posted by Eric Layman on 01/27/07 01:30
Thanks.
Would u kindly explain "sed" command please?
Thanks a lot.
"J.O. Aho" <user@example.net> wrote in message
news:51tvarF1m7khrU2@mid.individual.net...
> Ben C wrote:
>> On 2007-01-26, Eric Layman <erricson@lays> wrote:
>>> Hi,
>>>
>>> Are there any scripts or tools to trim/remove all white spaces in a
>>> html/php/ scripts file?
>
>> perl -pi -e 's/\s//g' *.html *.php
>
> sed 's/\s//g' -i *.html *.php
>
> --
>
> //Aho
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Navigation:
[Reply to this message]
|