From: Atom Smasher <atom@smasher.org>
To: zsh-users@sunsite.dk
Subject: EQUALS =command expansion
Date: Thu, 23 Nov 2006 23:57:06 -0500 (EST) [thread overview]
Message-ID: <20061124045708.20777.qmail@smasher.org> (raw)
this does what i'd expect:
$ ls -lh =lpr-portrait =lpr-landscape
-rwxr-xr-x 1 atom atom 89B Nov 21 04:13 /home/atom/bin/lpr-landscape
-rwxr-xr-x 1 atom atom 88B Nov 21 04:11 /home/atom/bin/lpr-portrait
but if i try to use TAB to expand "=lpr-*" it doesn't work. even without a
TAB expansion, i get this:
$ ls -lh =lpr-*
zsh: lpr-* not found
another example that i'd expect to "just work":
$ ls -l =*grep
zsh: *grep not found
i'd expect that to return:
/usr/bin/grep
/usr/bin/egrep
/usr/bin/fgrep
/usr/bin/bzgrep
/usr/bin/bzegrep
/usr/bin/bzfgrep
/usr/bin/zgrep
/usr/bin/zegrep
/usr/bin/zfgrep
/usr/bin/pgrep
/usr/local/bin/msggrep
/usr/local/bin/zipgrep
/usr/local/bin/pcregrep
(a lot of greps, and i haven't even installed ngrep on this box, yet.)
ZSH_VERSION=4.3.2
intuitively, the string "=lpr-*" should expand both with the TAB and when
executed on the command line. a quick look at the man pages doesn't seem
to indicate that this wouldn't work.
1) is this a zsh bug?
2) a documentation bug?
3) operator error?
thanks...
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"We will, in fact, be greeted as liberators."
-- Dick Cheney, 16 March 2003
next reply other threads:[~2006-11-24 5:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-24 4:57 Atom Smasher [this message]
2006-11-24 11:32 ` Peter Stephenson
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=20061124045708.20777.qmail@smasher.org \
--to=atom@smasher.org \
--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).