Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: capturing output of a script requiring answers to prompts
- X-seq: zsh-users 9106
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: capturing output of a script requiring answers to prompts
- Date: Mon, 18 Jul 2005 20:29:53 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <5c9nd157fcj924v4fdcjlesm9fvq7c5lb6@xxxxxxx> <20050718182714.GB19066@xxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Mon, 18 Jul 2005 11:27:14 -0700, wrote:
>The zsh-specific way to output data to both the terminal and a file is
>to use multi-IO:
>
> ./SCRIPT-FILE >&1 >output.txt
>
>However, that doesn't capture what the user types.
>
>..wayne..
This last one did the trick, curiously it didn't display the o/p of the select clause
--
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author