Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#390574: zsh: Updated completions for schroot and dchroot
- X-seq: zsh-workers 22805
- From: Clint Adams <clint@xxxxxxx>
- To: Roger Leigh <rleigh@xxxxxxxxxxxxxxxxxxxx>, 390574@xxxxxxxxxxxxxxx
- Subject: Re: Bug#390574: zsh: Updated completions for schroot and dchroot
- Date: Sun, 1 Oct 2006 20:36:16 -0400
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <874punel7y.fsf@xxxxxxxxxxxxxx>
- Mail-followup-to: Roger Leigh <rleigh@xxxxxxxxxxxxxxxxxxxx>, 390574@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20061001210027.13349.94075.reportbug@xxxxxxxxxxxxxx> <20061001214953.GA25131@xxxxxxxxxxx> <874punel7y.fsf@xxxxxxxxxxxxxx>
> 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: }// /}//[[\]]/,}}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author