This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: bash: setenv: command not found
- To: cabbey at bresnanlink dot net
- Subject: RE: bash: setenv: command not found
- From: Chet Ramey <chet at nike dot INS dot CWRU dot Edu>
- Date: Thu, 8 Feb 2001 12:37:49 -0500
- Cc: cygwin at cygwin dot com, chet at po dot cwru dot edu
- Read-Receipt-To: chet@po.CWRU.Edu
- Reply-To: chet at po dot CWRU dot Edu
> 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