[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
config.status: sed s,@program_transform_name@,s,x,x,,
From: |
Glenn McGrath |
Subject: |
config.status: sed s,@program_transform_name@,s,x,x,, |
Date: |
Wed, 9 Apr 2003 14:35:43 +1000 |
In config.status i have the following sed command.
s,@program_transform_name@,s,x,x,,
If i try and use something similar in GNU sed i get an error.
$ echo "blah" | sed 's,blah,s,x,x,,'
sed: -e expression #1, char 10: Unknown option to `s'
I realise the sed delimiter can be almost any character, but im not sure
whether its valid to have the delimiter in the replacement string.
Looking at the Makefile config.status generates i have a line
program_transform_name = s,x,x,
So i _think_ the sed command might be working from the script, but not
when run manually, which just isn't logical.
Anyone know whats going on ?
Im using the latest autoconf, the sed command is present in the
config.status generated by at least GNU sed, and GNU make's ./configure,
Thanks
Glenn
pgpLNOFZV7VZ1.pgp
Description: PGP signature
- config.status: sed s,@program_transform_name@,s,x,x,,,
Glenn McGrath <=