(Please excuse the unfinished last mail, I hit "Ctrl-Enter"
by accident.)

>   - echo "text" | read var ; echo $var
>   - cat file | read var ; echo $var
>   - read var < file | echo $var

.. continuing from last time, all of these won't work
because you're always creating a new subshell.

Try

  read var < file ; echo $var

Cheers,
        Jan.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to