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 6799
- From: "Julien CROUZET" <julien@xxxxxxxxxx>
- To: <zsh-users@xxxxxxxxxx>
- Subject: Re: zsh not accepting commandline args at end of command
- Date: Thu, 20 Nov 2003 18:13:23 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20031119171554.GC31842@xxxxxxxxxxxx> <10989.1069262811@xxxxxxx> <20031119173206.GD31842@xxxxxxxxxxxx> <FB740031-1B09-11D8-88D4-000393768D2C@xxxxxxxxxxxxxxxxx>
> 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.
>
My thought : ls uses getopt(3)
Extract from man getopt(3) :
ENVIRONMENT VARIABLES
POSIXLY_CORRECT
If this is set, then option processing stops as soon as a non-option
argument is encountered.
--
Julien CROUZET
Messages sorted by:
Reverse Date,
Date,
Thread,
Author