From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chet Ramey To: cabbey@bresnanlink.net Cc: cygwin@cygwin.com, chet@po.cwru.edu Subject: RE: bash: setenv: command not found Date: Thu, 08 Feb 2001 09:42:00 -0000 Message-id: <1010208173749.AA50606.SM@nike.INS.CWRU.Edu> X-SW-Source: 2001-02/msg00453.html > call me crazy but I like orthogonality, and logically named > commands. You like two completely different ways of doing assignments? First, export foo=bar is just convenient shorthand for foo=bar export foo There is only one way to do assignment statements in sh: var=value. All variable assignments are local, with the single exception of variable assignments preceding a command. `export' is the only way to make a variable part of the environment. sh-style shells are much more consistent. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet) Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/ -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple