|
From: | Paul Eggert |
Subject: | Re: [bug-gnulib] speed up MODULES.html.sh a bit |
Date: | Tue, 14 Nov 2006 13:24:22 -0800 |
User-agent: | Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Bruno Haible <address@hidden> writes: > You also combined adjacent sed invocations. Which rule are you using here? > When is it safe to combine > sed -e "$expr1" | sed -e "$expr2" > into > sed -e "$expr1" -e "$expr2" > ? That's a tricky question to answer in general, but if $expr1 and $expr are both simple s/foo/bar/ commands (which is the case here) the transformation is always safe.
[Prev in Thread] | Current Thread | [Next in Thread] |