Bourne shell: read variable from stdin
I'm trying to read the variable from the stdin in the bourne shell script
echo "haha\\\n" | read directory_fix
but has null output. Does anybody know how to solve this?
Thank you in advance,
Re: Bourne shell: read variable from stdin
In article <email@example.com>,
Timur Valiulin <TValiulin@unitech.com.ua> wrote:[color=blue]
>I'm trying to read the variable from the stdin in the bourne shell script
See the answer that someone already posted in comp.sys.sun.admin, and stop
Barry Margolin, [email]firstname.lastname@example.org[/email]
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.