Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Contradictionary behaviour of a script when testing file existance



Hi,

When the script executes this line

if [ -d blender80(:A:t) ] ; then
...
fi

it exits and the error message says, that there is no such file.
That's why the test is there...I thought... ;)

What do I need to change, that the test successfully tests --
regardsless whether its result is 'true" or 'false'?

Cheers!
mcc




Messages sorted by: Reverse Date, Date, Thread, Author