On Sat, Oct 09, 2010 at 10:27:02AM +0000, gh wrote:
> Sat Oct 9 12:16:52 CEST 2010 Guillaume Hoffmann <guillaumh@gmail.com>
> * fix a sed regexp in hidden_conflicts2.sh
Wouldn't it be better to just use three `-e ...' args, i.e.
sed -e '/pattern1/d' -e '/pattern2/d' -e '/pattern3/d'
instead of
sed -e '/pattern1\|pattern2\|pattern3/d'
It's more blurb, but you don't have to care wether sed uses basic
or extende regexps by default.
Ciao,
Kili
|