sed help!
From: Bowser325 (mccallaREMOVE!_at_thepacketlounge.org)
Date: 08/19/04
- Next message: yls177: "Re: filesystem or rawdevice"
- Previous message: Dave Hinz: "Re: What is the difference between command "PS" and "PS -aux""
- Next in thread: Laurenz Albe: "Re: sed help!"
- Reply: Laurenz Albe: "Re: sed help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 19 Aug 2004 17:03:08 -0400
I'm trying to edit multiple zone files @ once using sed, but when I run the
below command to replace the numeric string that is on the same line as
string "Serial" I get each digit in the numeric string being replaced by
the 10 digit replacement string.
sed /Serial/s/\[0-9]\/1234567890/g filename
Any help would be appreciated...
Thanks.
Aaron.
- Next message: yls177: "Re: filesystem or rawdevice"
- Previous message: Dave Hinz: "Re: What is the difference between command "PS" and "PS -aux""
- Next in thread: Laurenz Albe: "Re: sed help!"
- Reply: Laurenz Albe: "Re: sed help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]