[PATCH] Allow quotes in tst-fmon.data, and make output easier to read

Andreas Schwab schwab@suse.de
Sun Nov 23 18:59:00 GMT 2003


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."



More information about the Libc-alpha mailing list