[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Q on Bash's self-documented POSIX compliance...
From: |
Chet Ramey |
Subject: |
Re: Q on Bash's self-documented POSIX compliance... |
Date: |
Sun, 27 Jan 2013 17:53:31 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 1/27/13 3:55 PM, Linda Walsh wrote:
> ---
> Excellent point -- then what is the point of POSIX compatibility?
To provide a useful subset of all the shell language features that can be
used to write scripts portable between shells that offer that feature set.
> Considering that there seems to be no way to run Bash in POSIX-only mode,
> (and likely other POSIX-'compatible' [sic]) shells are similar -- they support
> the minimums, but have no way for someone to determine if their script is
> POSIX compatible (meaning only using POSIX)...
You have to actually use the standard.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/