This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Use program_transform_name correctly
- From: Felix Lee <felix dot 1 at canids dot net>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 07 Oct 2003 15:48:53 -0700
- Subject: Re: RFC: Use program_transform_name correctly
Jim Blandy <jimb@redhat.com>:
> ! t='$(program_transform_name)'; echo runtest | sed -e '' $$t; \
it looks to me like this is written for a program_transform_name
that's a concatenated list of -e options. the -e '' will keep
sed from complaining if program_transform_name is null.
I remember at some point in the past, sometimes
program_transform_name was a semicolon-separated list of sed
commands, sometimes it was a list of sed -e options. Don't know
if it's consistent now.
--