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

Re: problem with [[ -s /some/file ]] under 3.0.4



Timothy Luoma <luomat@xxxxxxxx> wrote:
>Hrm.... I just installed 3.0.4 and there seems to be a rather basic flaw:
>Anyone else see this?

Nope:

user@machine:/ # echo $ZSH_VERSION
3.0.4
user@machine:/ # touch /tmp/hi
user@machine:/ # ls -l /tmp/hi
-rw-r--r--   1 user     user            0 Jul  1 17:30 /tmp/hi
user@machine:/ # if [[ -s /tmp/hi ]] ; then echo yes ; else echo no ; fi
no
user@machine:/ # ls -l /tmp/hi
-rw-r--r--   1 user     user            0 Jul  1 17:30 /tmp/hi


____________________________________________________________ Philip Kizer ___
Texas A&M CIS Operating Systems Group, Unix ( 409.862.4120 ) pckizer@xxxxxxxx



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