Re: How to change shell valluables
Re: How to change shell valluables
- Subject: Re: How to change shell valluables
- From: Martin Costabel <email@hidden>
- Date: Wed, 29 Dec 2004 14:58:39 +0100
Justin Walker wrote:
[]
that variable. 'set' is used in both shell families (csh & sh) to set
the value of a variable.
Just to set the record straight and since this was the original
question: This is untrue.
In the sh family of shells (and therefore in the default shell bash of
Panther), the builtin command 'set' is used to set so-called shell
attributes, a kind of preferences for the shell. You cannot use it to
assign values to a variable. To set the variable A to the value B, you
use 'A=B'.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden