[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [50 character or so descriptive subject here (for reference)]
From: |
Chet Ramey |
Subject: |
Re: [50 character or so descriptive subject here (for reference)] |
Date: |
Mon, 8 Oct 2001 13:20:21 -0400 |
> Configuration Information [Automatically generated, do not change]:
> Machine: i686
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
> -DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I.
> -I//include -I. -I./include -I./lib -I//include -mcpu=i686 -march=i686 -O3
> -pipe
> uname output: Linux yde.flatmonk.org 2.4.10 #1 Fri Sep 28 11:03:46 EST 2001
> i686 unknown
> Machine Type: i686-pc-linux-gnu
>
> Bash Version: 2.04
> Patch Level: 0
> Release Status: release
>
> Description:
> Bash loses value of variables that are read from a pipeline.
>
> Repeat-By:
> Why doesn't this work?
>
> echo asdf | read b
Read the Bash FAQ, question E4.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/