Google
  Web www.spinics.net

Re: Help on cleaning strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


: 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Site Home]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Memory]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Writing Drivers]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Git]     [Linux Resources]     [Fedora Users]

  Powered by Linux