help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Proposed usage of $-


From: Chet Ramey
Subject: Re: [Help-bash] Proposed usage of $-
Date: Sun, 13 Jan 2013 14:40:15 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 1/13/13 1:38 PM, Dan Douglas wrote:

> - only contains the options representable by short option flags to set. The 
> value you're looking for is in SHELLOPTS. [[ $SHELLOPTS == *posix* ]]. There 
> are some extra differences depending upon how "POSIX mode" was set but most 
> shouldn't have to worry about them (echo can be more or less strict for 
> instance).

The `posix' option is settable using `set -o', but there is no single-
letter flag equivalent (-p and -P were already used).

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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