Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: capturing output of a script requiring answers to prompts



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