On Sunday 31 Oct 2004 09:47, SnapafunFrank wrote:
> Rodolfo Medina wrote:
> >Hi.
> >
> >Does it exist a linux command (or a sequence of commands)
> >that looks into a file
> >and delete one line if there are two equal?
> >
> >Thanks,
> >Rodolfo
>
> Or simply deletes strings within several files within a directory? [
> Similar to Find and Replace only across multiple documents at the same
> time. ]

open a konsole and type

man sed

sed is a powerful stream editor and given a very simple script can handle 
hundreds of files repeating a list of commands on each one and saving each 
file before moving on to the next in a list.

magnet

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to