Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Contradictionary behaviour of a script when testing file existance
- X-seq: zsh-users 24344
- From: tuxic@xxxxxxxxx
- To: zsh-users@xxxxxxx
- Subject: Contradictionary behaviour of a script when testing file existance
- Date: Sat, 12 Oct 2019 14:48:54 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1570884535; bh=siBj+MhISc5yg4t/TBB+AWWV0d29v2Zu4QEtwXbNsiA=; h=Date:From:To:Subject:From; b=rtfb8aVy2tGI9uWQQl9PI4/lyiAtIsX2GHLnNs0T+qcY8tHfX6nSLzXoKZCNvT8ad Ulg5CFI1B27FTgdgS6ewYyxmA+pbotI7qsExqXlER8CRHkJrDfcwgz8tXLn3QEBIQ8 xQUuVBs2zFnhFhaTtqS3LYPhfuY8GLcGQCts0d0MW5yChVWpRMmT0XD+mwLtlkAy/m yk0UzkW0fjWiGUIEeNrT/Jzd6M4qHYjVzfnjzpOSkUQzrCFeP/eQ4zoDLj1VOe5vOR eJgZ4DEj58Xl7m4+kt9z7lfeYmuYpU2pVn+AtreUIBuAEUGF8bveIRVeMU0BZeB3Il jHTtd0nqqcGrA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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