Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
problem with [[ -s /some/file ]] under 3.0.4
- X-seq: zsh-workers 3326
- From: Timothy Luoma <luomat@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: problem with [[ -s /some/file ]] under 3.0.4
- Date: Tue, 1 Jul 97 18:22:24 -0400
- Organization: Princeton Theological Seminary
- Reply-to: luomat@xxxxxxxx
Hrm.... I just installed 3.0.4 and there seems to be a rather basic flaw:
/bin/rm -f /tmp/filezero
touch /tmp/filezero
ls -l = -rw-r--r-- 1 luomat wheel 0 Jul 1 18:16 /tmp/filezero
if [[ -s /tmp/filezero ]]
then
echo yes
else
echo no
fi
result: yes
###########################
Previously I was using 3.0.2 which worked fine:
/bin/rm -f /tmp/filezero
touch /tmp/filezero
-rw-r--r-- 1 luomat wheel 0 Jul 1 18:16 /tmp/filezero
if [[ -s /tmp/filezero ]]
then
echo yes
else
echo no
fi
result: no
Anyone else see this?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author