Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh not accepting commandline args at end of command
- X-seq: zsh-users 6798
- From: "William H. Magill" <magill@xxxxxxxxxxxxxxxxx>
- To: Eric Smith <es@xxxxxxxxxxxx>
- Subject: Re: zsh not accepting commandline args at end of command
- Date: Wed, 19 Nov 2003 22:31:09 -0500
- Cc: zsh users <zsh-users@xxxxxxxxxx>
- In-reply-to: <20031119173206.GD31842@xxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20031119171554.GC31842@xxxxxxxxxxxx> <10989.1069262811@xxxxxxx> <20031119173206.GD31842@xxxxxxxxxxxx>
On 19 Nov, 2003, at 12:32, Eric Smith wrote:
But is weems to be using the same ls
[eric@apple ~] $ which ls
/bin/ls
[eric@apple ~] $ /bin/ls /tmp -F
/bin/ls: -F: No such file or directory
/tmp:
ssh-XXUIWy1q v235390
[eric@apple ~] $ exit
now in bash:
eric@apple:~$ /bin/ls /tmp -F
ssh-XXUIWy1q/ v235390/
The command results from bash are simply wierd.
Using
GNU bash, version 2.05b.0(1)-release (powerpc-apple-darwin7.0)
ls /tmp -F
generates exactly the same output as does zsh or tcsh (all without
initialization files).
ls: -F: No such file or directory
The command syntax is
ls [-ABCFGHLPRTWZabcdfghiklmnopqrstuwx1] [file ...]
The parameters are positional, with the options first and the operands
second.
The "-F" is treated as a file name, hence "no such file."
This is true for both the BSD and SystemV versions of ls.
T.T.F.N.
William H. Magill
# Beige G3 - Rev A motherboard - 768 Meg
# Flat-panel iMac (2.1) 800MHz - Super Drive - 768 Meg
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64 5.1a
magill@xxxxxxxxxxxxxxxxx
magill@xxxxxxx
magill@xxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author