zsh-users
 help / color / mirror / code / Atom feed
From: "Julien CROUZET" <julien@synten.com>
To: <zsh-users@sunsite.dk>
Subject: Re: zsh not accepting commandline args at end of command
Date: Thu, 20 Nov 2003 18:13:23 +0100	[thread overview]
Message-ID: <005901c3af89$9ab2df20$6900000a@julien> (raw)
In-Reply-To: <FB740031-1B09-11D8-88D4-000393768D2C@mcgillsociety.org>

> 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



  reply	other threads:[~2003-11-20 17:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-19 17:15 Eric Smith
2003-11-19 17:23 ` Miek Gieben
2003-11-19 17:26 ` Clint Adams
2003-11-19 17:26 ` Peter Stephenson
2003-11-19 17:32   ` Eric Smith
2003-11-19 17:53     ` Aidan Kehoe
2003-11-19 18:42     ` Peter Stephenson
2003-11-20  3:31     ` William H. Magill
2003-11-20 17:13       ` Julien CROUZET [this message]
2003-11-19 17:31 ` Bart Schaefer
2003-11-19 17:42   ` Eric Smith

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='005901c3af89$9ab2df20$6900000a@julien' \
    --to=julien@synten.com \
    --cc=zsh-users@sunsite.dk \
    /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).