Re: echo hi | read a; echo $a # Does not print hi AS WITH pdksh
From:
Chet Ramey
Subject:
Re: echo hi | read a; echo $a # Does not print hi AS WITH pdksh
Date:
Thu, 12 Jun 2003 09:17:22 -0400
> Machine Type: i686-pc-linux-gnu
>
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
>
> Description:
> echo hi | read a; echo $a # Does not print hi
Read the Bash FAQ, question E4.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/