Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Interactive program in Zsh
- X-seq: zsh-users 7518
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: Interactive program in Zsh
- Date: Fri, 11 Jun 2004 11:41:41 +0200
- In-reply-to: <Pine.LNX.4.44.0406102314510.22629-100000@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20040610172136.GC674@DervishD> <Pine.LNX.4.44.0406102314510.22629-100000@xxxxxxxxxxxxxxxxxx>
Hi Bart :)
* Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
> > For me would be easy to do the 'print -s', but instead of the list I
> > will print into the history the command to run the chosen option
> > followed by each option.
> You've lost me, I fear. Why would you need to do that? Vared is going
> to assign the selected value to a variable, not run it as a command.
Sorry, I forgot that O:) Anyway, by now I'm testing a solution
using select and a little sed script to munge the text, script that I
don't know if it can be replaced by shell code, I will try in the
future but since I'm certainly not a sed guru nor a shell guru FWIW,
I will need some more help. The important point is that it works now,
no matter if it is not the most elegant piece of code in the world.
Thanks for all :)
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author