Email List: Xaustin-group-lX
[All Lists]

Re: shell, arithmetic expansion and integer constants

To: Roger Marquis <marquis@xxxxxxxxx>
Subject: Re: shell, arithmetic expansion and integer constants
From: Chet Ramey <chet.ramey@xxxxxxxx>
Date: Mon, 23 Jun 2008 16:34:01 -0400
Cc: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>, austin-group-l@xxxxxxxxxxxxx, chet.ramey@xxxxxxxx
Organization: ITS, Case Western Reserve University
References: <20080617140716.GN10734@prunille.vinc17.org> <20080617144902.39B972B59A0@mx5.roble.com> <20080617152636.GR5016@sc.homeunix.net> <20080617155824.9724E2B59E3@mx5.roble.com>
Roger Marquis wrote:

Um no, Bourne is and always has been the standard Unix shell.  POSIX cannot
change that nor should it.  Bourne is the one scripting language that has a
common syntax across all popular Unix and Linux variants (with some
bashisms added in non-compliant GNU implementations).  Any experienced
systems administrator knows that common Bourne syntax, not POSIX Bourne
syntax, is required for cross-platform compatibility (of install scripts
and such).
"Bourne" doesn't really mean very much.  It usually means "the version of
sh on the systems I use and manage."

What version do you mean?  v7?  SVR2?  SVR3? 4? 4.2?  They're all
different, with different features and quirks.

The Posix standard has the advantage of consistency.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

<Prev in Thread] Current Thread [Next in Thread>