[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read doesn't handle pipes
From: |
Jehsom |
Subject: |
Re: read doesn't handle pipes |
Date: |
14 Nov 2000 15:08:20 GMT |
User-agent: |
tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.17 (i686)) |
bero@redhat.com wrote:
> [bero@zell bero]$ test=""
> [bero@zell bero]$ echo "Linux now" |read test
> [bero@zell bero]$ echo $test
>
> [bero@zell bero]$
This is expected behavior, as commands in a pipeline execute in subshells.
Moshe
--
jehsom@ angband.org cc.gatech.edu polter.net shaftnet.org nullity.dhs.org
wreck.org bellsouth.net resnet.gatech.edu burdell.org yo.dhs.org gooning.org
usa.net togetherweb.com spoonless.net; gte741e mj116 @prism.gatech.edu;
jacobsonconsulting@ usa.net; ICQ 1900670
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: read doesn't handle pipes,
Jehsom <=