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

set -F kills read -t



All:

I'm trying to get some functions to accept piped input:

func ()
{
...
read -t input
echo "$input to a summer's day?"
...
}

$ echo "Shall I compare thee" | func

Shall I compare thee to a summer's day?

...
All good. However if 'set -F' is active before 'func' is called or even it it's set just before the 'read -t input' then nothing is readed. Why is that? I thought 'set -F' was just to prevent glob expansions. Can it be fixed?

Tx.



Messages sorted by: Reverse Date, Date, Thread, Author