From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@math.gatech.edu
Subject: Re: problem with [[ -s /some/file ]] under 3.0.4
Date: 2 Jul 1997 03:42:30 GMT [thread overview]
Message-ID: <slrn5rjjh6.8mv.mason@coral.primenet.com.au> (raw)
In-Reply-To: <199707012222.SAA22323@kira.peak.org>
On 2 Jul 1997 08:41:48 +1000, Timothy Luoma <luomat@peak.org> wrote:
:Hrm.... I just installed 3.0.4 and there seems to be a rather basic flaw:
case 's':
return ((st = getstat(c->left)) && !!(st->st_size));
Well, either your compiler must be doing something really strange since
!!0 == 0 for most people, or you've done something strange elsewhere,
or your stat routines don't work.
% rm whatever
% touch whatever
% [[ -s whatever]] && echo yes || echo no
no
--
Geoff Wing [mason@primenet.com.au] Technical Manager
Phone : +61-3-9818 2977 PrimeNet - Internet Consultancy
Facsimile: +61-3-9819 3788 Web : <URL:http://www.primenet.com.au/>
Mobile : 0412 162 441
next prev parent reply other threads:[~1997-07-02 4:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-01 22:22 Timothy Luoma
1997-07-01 22:33 ` Philip Kizer
1997-07-02 3:42 ` Geoff Wing [this message]
1997-07-02 19:00 ` NeXTStep cc? (Re: problem with [[ -s /some/file ]] under 3.0.4) Timothy Luoma
1997-07-02 5:54 ` problem with [[ -s /some/file ]] under 3.0.4 Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrn5rjjh6.8mv.mason@coral.primenet.com.au \
--to=mason@primenet.com.au \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).