On Tue, 25 Jul 2006 16:33:19 +0200, Alan McKinnon wrote:

> Um, no. Read my post again. The command 'test' and the command '[' have
> *different* syntax so cannot possible be links to each other and still
> have it work.

if [ $(basename $0) == "[" ]
then
        #parse for trailing ]
else
        #parse to end of line
fi


-- 
Neil Bothwick

Help! I've fallen and I can't get down! - James Brown

Attachment: signature.asc
Description: PGP signature

Reply via email to