This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Allow quotes in tst-fmon.data, and make output easierto read
- From: Andreas Schwab <schwab at suse dot de>
- To: Petter Reinholdtsen <pere at hungry dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 23 Nov 2003 19:59:38 +0100
- Subject: Re: [PATCH] Allow quotes in tst-fmon.data, and make output easierto read
- References: <E1ANyPs-0004js-00@minerva.hungry.com>
Petter Reinholdtsen <pere@hungry.com> writes:
> + expect=`echo -n "$expect" | sed 's/^\"\(.*\)\"$/\1/'`
echo -n is not portable, and not needed here anyway, since the shell
already discards the trailing newline in a command substitution.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."