From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: Zsh Development Workers <zsh-workers@math.gatech.edu>
Subject: Re: FAQ bug
Date: Wed, 25 Nov 1998 09:57:29 +0100 [thread overview]
Message-ID: <9811250857.AA08844@ibmth.df.unipi.it> (raw)
In-Reply-To: "Phil Pennock"'s message of "Tue, 24 Nov 1998 19:15:29 NFT." <19981124191529.05649@athenaeum.demon.co.uk>
Phil Pennock wrote:
> In section 2.3 of the new FAQ, the first example of the zsh function for
> cd is missing the closing double-quotes:
> cd() { builtin cd "$@; echo $PWD; }
yup, I've fixed that
> As a thought: Bart pointed out $==* as an alternative to "$@" (one would
> almost think he wanted to free up the syntax for something else :^) ...
There was a problem pointed out by Zoli with $* which still applies to
$==*, namely if you have cd as a function and want to do `cd foo ""'
the null string gets dropped, and it means something completely
different. There is now a mention of the difference between "$@" and
$* in the shwordsplit section. I can point out about $==*, if you
don't think it's going to make people's hair stand on end.
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56100 Pisa, Italy
next prev parent reply other threads:[~1998-11-25 9:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-24 19:15 Phil Pennock
1998-11-25 8:57 ` Peter Stephenson [this message]
1998-11-25 18:35 ` Phil Pennock
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=9811250857.AA08844@ibmth.df.unipi.it \
--to=pws@ibmth.df.unipi.it \
--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).