Mail Archives: djgpp/1999/06/27/10:45:14
On Fri, 25 Jun 1999, Edevaldo Pereira (q14792) wrote:
> and gsed(renaming it) an it didn't work as well.
> The error was "Error in line 1: Unmatched '{'". What I did is
> to put all the match in a single line it looked like:
>
> # Replace "test -f" with "test -x" so that e.g. gcc.exe is found.
> /for ac_dir in \$PATH; do/,/IFS="\$ac_save_[Ii][Ff][Ss]"/ { s|test -f
> \$ac_dir/|test -x ac_dir/| }
I'm not sure this should work. I suspect that the files got munged
somehow by the mail. I will send you the files as a binary attachment.
I lifted those files from one of the ports I made, and they surely work
for me, with the sanme version of Sed you are using.
- Raw text -