• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to change shell valluables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How to change shell valluables (From: 和城 光弘 <email@hidden>)
 >Re: How to change shell valluables (From: Doug McNutt <email@hidden>)
 >Re: How to change shell valluables (From: Justin Walker <email@hidden>)

  • Prev by Date: Thank you everyone. "How to change shell vallues"
  • Next by Date: importance of environment.plist file
  • Previous by thread: Re: How to change shell valluables
  • Next by thread: Re: How to change shell valluables
  • Index(es):
    • Date
    • Thread