Re: Help on cleaning strings

terry white <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
: Mário Gamito [Wed, Aug 22, 2007 at 08:07:56PM +0100]:

:  Sorry for the newbie question

    why.  if nothing else, that the reason for this list.


    the following script should work ...


<NEXT LINE STARTS CODE>
#!/bin/sh

#       create vanilla list of *.html to process
for F in `dir -1 --color=never *.html` ;

#       make backup
   do mv $F $F.save

#       pipe it into the string editor
     cat $F.save | sed s/\#\#Z\//  > $F ;
done
exit
<PREVIOUS LINE ENDS CODE>


-- 
... i'm a man, but i can change,
    if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.