From: Clint Adams <clint@zsh.org>
To: Roger Leigh <rleigh@whinlatter.ukfsn.org>, 390574@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#390574: zsh: Updated completions for schroot and dchroot
Date: Sun, 1 Oct 2006 20:36:16 -0400 [thread overview]
Message-ID: <20061002003615.GA30382@scowler.net> (raw)
In-Reply-To: <874punel7y.fsf@hardknott.home>
> That's not quite right:
>
> % echo ${(os:,:)${${${"$(dchroot -l)"#Available chroots:}/\[*\]/}//[
> ]/}}
> experimental fake sarge sid-file sid-file-source sid-snap sid-snap-source testsnap testsnap-source
> hardknott% dchroot -l
> Available chroots: experimental, fake, sarge [stable, sarge-backports], sid [unstable, unstable-sbuild], sid-block [sid-block], sid-file, sid-file-source, sid-snap, sid-snap-source, testsnap, testsnap-source
>
> The output should be:
> experimental fake sarge stable sarge-backports sid unstable unstable-sbuild sid-block sid-file sid-file-source sid-snap sid-snap-source testsnap testsnap-source
>
> i.e. the contents of the square brackets should not be eliminated.
How about ${(os:,:)${${${"$(cat /tmp/vakka)"#Available chroots: }// /}//[[\]]/,}}
next prev parent reply other threads:[~2006-10-02 0:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20061001210027.13349.94075.reportbug@hardknott.home>
2006-10-01 21:49 ` Clint Adams
[not found] ` <874punel7y.fsf@hardknott.home>
2006-10-02 0:36 ` Clint Adams [this message]
[not found] ` <87sli6nyjc.fsf@hardknott.home>
2006-10-03 6:14 ` Clint Adams
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=20061002003615.GA30382@scowler.net \
--to=clint@zsh.org \
--cc=390574@bugs.debian.org \
--cc=rleigh@whinlatter.ukfsn.org \
--cc=zsh-workers@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).