From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 6a324f6d for ; Sat, 12 Oct 2019 12:49:48 +0000 (UTC) Received: (qmail 12681 invoked by alias); 12 Oct 2019 12:49:37 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24344 Received: (qmail 3889 invoked by uid 1010); 12 Oct 2019 12:49:37 -0000 X-Qmail-Scanner-Diagnostics: from mout01.posteo.de by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25598. spamassassin: 3.4.2. Clear:RC:0(185.67.36.65):SA:0(-4.3/5.0):. Processed in 2.989221 secs); 12 Oct 2019 12:49:37 -0000 X-Envelope-From: mailinput@posteo.de X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at posteo.de designates 185.67.36.65 as permitted sender) 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== Date: Sat, 12 Oct 2019 14:48:54 +0200 From: tuxic@posteo.de To: zsh-users@zsh.org Subject: Contradictionary behaviour of a script when testing file existance Message-ID: <20191012124854.pc4zrlgwgfobl4n6@solfire> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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