From: Zefram <A.Main@dcs.warwick.ac.uk>
To: mike@calypso.bns.com.au (Michael Talbot-Wilson)
Cc: zsh-workers@math.gatech.edu
Subject: Re: Hi. Installed on FreeBSD 2.1
Date: Sun, 7 Jan 1996 05:32:52 +0000 (GMT) [thread overview]
Message-ID: <8140.199601070532@upwind.dcs.warwick.ac.uk> (raw)
In-Reply-To: <Pine.BSD.3.91.960107152025.3278B-100000@calypso.bns.com.au> from "Michael Talbot-Wilson" at Jan 7, 96 03:54:03 pm
> $ ls -l -F # okay
> $ A='-l'
> $ ls $A -F # okay
> $ B='-l -F'
> $ ls $B # error
> # BSD ls: "illegal option --"
> # GNU ls: "invalid option --"
You obviously don't have the SH_WORD_SPLIT option set. Normally,
Bourne shells will perform word splitting on the result of parameter
expansions, as you rely on here, but zsh doesn't do that by default.
Apart from turning on the option, there are two possible solutions:
B=(-l -F)
ls $B
B='-d -F'
ls $=B
-zefram
next prev parent reply other threads:[~1996-01-07 6:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-07 5:24 Michael Talbot-Wilson
1996-01-07 5:31 ` d. hall
1996-01-07 5:32 ` Zefram [this message]
1996-01-07 6:00 ` Michael Talbot-Wilson
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=8140.199601070532@upwind.dcs.warwick.ac.uk \
--to=a.main@dcs.warwick.ac.uk \
--cc=mike@calypso.bns.com.au \
--cc=zsh-workers@math.gatech.edu \
/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).