Date: Thu, 26 Aug 2004 11:01:54 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz> To: Cody Rioux <gr4y.fox@gmail.com> Cc: freebsd-newbies@freebsd.org Subject: Re: changing the shell and editor Message-ID: <412E0972.3030405@daleco.biz> In-Reply-To: <c52d1f82040825234475b4a5af@mail.gmail.com> References: <801213900.20040825215844@xtsy.de> <412D81A0.5080908@wup-katowice.pl> <412D8435.3090101@daleco.biz> <c52d1f82040825234475b4a5af@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Cody Rioux wrote: >It is the setenv command if you are using csh or one of its variants, >however he said that he was using bash, so you would need to export >the variable using the export command, I belive he already has the >problem solved though. :) > > > Well, yes; but "he who?" If you read carefully the message below, you see that I was replying to Arek Czereszewski (hope I spelled that correctly) who stated that "Command set VARIABLE work in t/csh". I was simply noting the truth that in csh/tcsh, you have to "setenv" ... as you see from the example, "set" doesn't work here (in tcsh)... :-) KDK >On Thu, 26 Aug 2004 01:33:25 -0500, Kevin D. Kinsey, DaleCo, S.P. ><kdk@daleco.biz> wrote: > > >>Arek Czereszewski wrote: >> >> >> >>>Command set VARIABLE work in t/csh >>> >>> >>> >>Actually, isn't is "setenv": >> >> <kadmin@archangel> [/home/kadmin/c++/archive] [1:30] >> % setenv FOO BAR >> >> <kadmin@archangel> [/home/kadmin/c++/archive] [1:30] >> % echo $FOO >> BAR >> >> <kadmin@archangel> [/home/kadmin/c++/archive] [1:30] >> % set FOOD BAR >> >> <kadmin@archangel>[/home/kadmin/c++/archive][1:30] >> % echo $FOOD >> >> <kadmin@archangel>[/home/kadmin/c++/archive][1:30] >> >>Hmm, FOOD BAR ... >> >>I'm getting hungry ;-) >> >>KDK >> >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412E0972.3030405>