[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Sed command
- Subject: [cobalt-users] Sed command
- From: "Greg O'Lone" <greg@xxxxxxxxxxxxxxxx>
- Date: Sun Nov 3 12:23:01 2002
- Organization: Stretched Out Software Inc
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
For anyone familiar with the sed (stream editor) command, I am trying to
do the following replacement:
sysconfdir='/home/etc'
To
sysconfdir='/etc'
This command looks right to me, but it doesn't work
sed 's/sysconfdir=.*/sysconfdir=\'\/etc\'/g' configure2 >
configure
Any ideas?
--
Greg O'Lone, President
Stretched Out Software, Inc
http://www.stretchedout.com
--