[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Sed command
- Subject: Re: [cobalt-users] Sed command
- From: "Chris Burton" <chris@xxxxxxxxxxx>
- Date: Sun Nov 3 12:51:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> sed 's/sysconfdir=.*/sysconfdir=\'\/etc\'/g' configure2 >
> configure
>
> Any ideas?
Hi,
These both work (bash shell)
sed "s/sysconfdir=.*/sysconfdir=\'\/etc\'/g" configure2 > configure
or
sed s/sysconfdir=.*/sysconfdir=\'\\/etc\'/g configure2 > configure
Chris.