[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix `set -o posix' again

From: Paul Eggert
Subject: Re: Fix `set -o posix' again
Date: Sat, 11 Feb 2006 19:42:37 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

address@hidden (Eric Blake) writes:

> how likely are we to have a shell that has an option that has the
> substring "posix", without also supporting the actual option
> "posix"?

Not that likely, I suppose.  I was trying to be safe, and perhaps it
was overkill.

> case `set -o 2>/dev/null` in

We need the parens around the 'set -o'.  Otherwise some older shells
that lack 'set -o' will output to the original stderr, not the
redirected one.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]