From: Bek Oberin <gossamer@tertius.net.au>
To: Zsh Users <zsh-users@sunsite.auc.dk>
Subject: Match on range
Date: Thu, 22 Jul 1999 10:35:57 +1000 [thread overview]
Message-ID: <19990722103557.F240@tertius.net.au> (raw)
For the completion of playcd, I want to match any number of a range
created like this:
1-`cd-discid /dev/cdrom | cut -f2 -d' '`
but I can't get compctl to recognize it as a range. Can it even
-do- ranges?
Closest I've got is this:
compctl -k "(1-`cd-discid /dev/cdrom | cut -f2 -d' '`)" playcd
but that just matches on an array with one member, being "1-18" or
whatever. Not a range.
Any ideas?
bekj
--
: --Hacker-Neophile-Eclectic-Geek-Grrl-Queer-Disabled-Boychick--
: gossamer@tertius.net.au http://www.tertius.net.au/~gossamer/
: Laughter is the closest distance between two people.
: -- Victor Borge
next reply other threads:[~1999-07-23 5:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-22 0:35 Bek Oberin [this message]
1999-07-23 6:53 Sven Wischnowsky
1999-07-23 8:21 Sven Wischnowsky
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=19990722103557.F240@tertius.net.au \
--to=gossamer@tertius.net.au \
--cc=zsh-users@sunsite.auc.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).