setenv or Redhat equal

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Art Wagner
Date:  
Subject: setenv or Redhat equal
Kevin,
I found out via experimant that "export" syntax is a lot different than CSH
for instance "setenv MAKE gmake -j4"
becomes "export MAKE="gmake -j4"
Pulling that out of "man bash" and "info bash" was my problem ;-)
Art

Kevin Brown wrote:

> RedHat didn't change setenv to anything. setenv is not used by the bash shell,
> export is.
>
> export CVSROOT=:pserver:anonymous@cvs-mirror,mozilla.org:/cvsroot
>
> I believe that setenv is a C shell, and maybe a Korn shell (never used Korn)
> environment variable.
>
> Art Wagner wrote:
>
>>Can some kind soul out there bail me out?
>>I need to "setenv CVSROOT :pserver:anonymous@cvs-mirror,mozilla.org:/cvsroot"
>>and dear old redhat has changed the "setenv" command to "???????"
>>TIA
>>Art Wagner
>>
>>________________________________________________
>>See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post

to the list quickly and you use Netscape to write mail.
>>
>>PLUG-discuss mailing list -
>>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post

to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>