[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a 'who called me?' variable?



On Thu, 19 Jul 2001 12:10:12 EDT, D-Man writes:
>Based on your examples there, $TERM might be helpful.  For example in
>my .cshrc on the school's Solaris box I have
>
>if ( "$TERM" == "linux" )
>    bash && exit
>end

Hmm, `exec bash` would be better as it wouldn´t let the old shell 
 running in the background ;-)

Just to be picky.

cheers,
&rw
-- 
-- "Damn and blast British Telecom!" shouted Dirk,
-- the words coming easily from years of practice.
-- Douglas Adams
----


Attachment: pgprZQuSoyBY2.pgp
Description: PGP signature


Reply to: