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

Re: SED help........



on Fri, Apr 23, 2004 at 11:36:18AM -0600, s. keeling (keeling@spots.ab.ca) wrote:
> Incoming from Ralph Crongeyer:
> > 
> > I need some help with SED. I'm trying  to insert a "command"/text at the 
> > beginning of every line from one file and output to a new file like this:
> > 
> > sed 's/.*/clamscan -ri -l /var/log/clamav/clamav-"$1".log 
> > /var/log/clamav/virus_scan
> 
> BTW, this is _debian-user_, not sed-user.

If you don't want to answer a post, don't answer a post.


Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
    Save Bob Edwards!       http://www.savebobedwards.com/

Attachment: signature.asc
Description: Digital signature


Reply to: