Re: sed help please

2009-01-27 Thread Daniel Dalton
Hi Axel, > Use a backslash \ bevor the slash/: "\/" works fine Thanks, very much, that worked! Cheers, Daniel. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: sed help please

2009-01-27 Thread Teemu Likonen
Axel Freyn (2009-01-27 12:11 +0100) wrote: > On Tue, Jan 27, 2009 at 09:35:46PM +1100, Daniel Dalton wrote: >> sed s//media// filename >> >> One question, how can I include the / charactar in the search patton? >> This works fine except, I need to add a / in the search patton, any >> ideas how t

Re: sed help please

2009-01-27 Thread Axel Freyn
Hi Daniel, On Tue, Jan 27, 2009 at 09:35:46PM +1100, Daniel Dalton wrote: > Hi, > > I've come up with this sed command: > sed s//media// filename > > One question, how can I include the / charactar in the search patton? > This works fine except, I need to add a / in the search patton, any > idea

sed help please

2009-01-27 Thread Daniel Dalton
Hi, I've come up with this sed command: sed s//media// filename One question, how can I include the / charactar in the search patton? This works fine except, I need to add a / in the search patton, any ideas how to do this so sed doesn't complain? Thanks very much, Daniel. -- To UNSUBSCRIBE

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

2004-04-24 Thread Rob Benton
Ralph Crongeyer wrote: Hi all, 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 --move=/var/log/clamav/quarantine &/ /var/log/clamav/diff

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

2004-04-24 Thread Joachim Fahnenmueller
On Fri, Apr 23, 2004 at 11:39:32AM -0400, Ralph Crongeyer wrote: > Hi all, > > 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 > --m

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

2004-04-23 Thread Karsten M. Self
on Fri, Apr 23, 2004 at 11:36:18AM -0600, s. keeling ([EMAIL PROTECTED]) 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/.*/clamsc

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

2004-04-23 Thread Karsten M. Self
on Fri, Apr 23, 2004 at 11:39:32AM -0400, Ralph Crongeyer ([EMAIL PROTECTED]) wrote: > Hi all, > > 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/cl

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

2004-04-23 Thread s. keeling
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 _debia

SED help........

2004-04-23 Thread Ralph Crongeyer
Hi all, 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 --move=/var/log/clamav/quarantine &/ /var/log/clamav/diff/diff.txt > /var/log/cla

Re: sed help

2003-02-07 Thread Seneca
On Fri, Feb 07, 2003 at 04:06:06PM +0900, Geengun Guim wrote: > The identity is not www but the first +- simbol. > > c:\tmp\mbc+-www.mbc.co.kr+-cgi-bin+-cgi.cgi > c:\tmp\mbc+-cs.mbc.co.kr+-cgi-bin+-cgi.cgi > c:\tmp\mbc+-cdi.kbs.co.kr+-cgi-bin+-cgi.cgi [...] > Besides, I'd like to insert ping 66.66.

sed help

2003-02-06 Thread Geengun Guim
Hi? Elie De Brauwer" <[EMAIL PROTECTED] helped me before. but I cannot touch with him.why. so ask you please help me The identity is not www but the first +- simbol. c:\tmp\mbc+-www.mbc.co.kr+-cgi-bin+-cgi.cgi c:\tmp\mbc+-cs.mbc.co.kr+-cgi-bin+-cgi.cgi c:\tmp\mbc+-cdi.kbs.co.kr+-cg