[X-Unix] A Test Problem

Doug McNutt douglist at macnauchtan.com
Fri Oct 21 17:03:31 PDT 2005


At 16:07 -0700 10/21/05, Randy Beaudreault wrote:
>I have a problem with test in that when I try the following,
>	[ -z "$SSH_CLIENT" ] && source $HOME/.ssh-agent

> I am using tcsh here as my shell.

if ($?DOUG) echo $DOUG

Is what I use for tcsh.  I think the [ (space) test conditions (space) ] is a bash convention. The [ would only work in tcsh because it is linked as a file name to the tool text in /bin/

-- 

-->  Halloween  == Oct 31 == Dec 25 == Christmas  <--


More information about the X-Unix mailing list