/[guile]/guile/workbook/build/shell-tips.text
ViewVC logotype

Diff of /guile/workbook/build/shell-tips.text

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ttn, Thu Apr 25 15:39:21 2002 UTC revision 1.2 by ttn, Fri Apr 26 17:31:01 2002 UTC
# Line 1  Line 1 
1  Various processes use Bourne shell (/bin/sh), which has a long and interesting  Various processes use Bourne shell (/bin/sh), which has a long and interesting
2  past and carries some necessity for care, to avoid non-portable constructs.  past and carries some necessity for care, to avoid non-portable constructs.
3    
4  This file lists some of these constructs.  Probably there are other  The Autoconf info node "Portable Shell" contains many tips and guidelines (see
5  accumulations of such tips somewhere on the net (refs welcome!).  there first), while this file contains specific constructs which we are in the
6    process of contributing to that node.
7    
8    
9  * For variable ref+assignemnt, use ${VAR-VALUE} -- some implementations  
10    also allow ${VAR:-VALUE}, but not all.  Pending addition to Autoconf manual:
11    
12  * In Solaris 2.7 /bin/sh, "set -e -x" assigns "-x" to the  * In Solaris 2.7 /bin/sh, "set -e -x" assigns "-x" to the
13    current command line.  It is better to use "set -ex".    current command line.  It is better to use "set -ex".

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26