[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
read doesn't handle pipes
From: |
bero |
Subject: |
read doesn't handle pipes |
Date: |
Wed, 25 Oct 2000 15:24:53 +0200 (CEST) |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONFIG_H -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -I. -I. -I./include -I./lib -I/usr/include -O2
-march=i386 -mcpu=i686
uname output: Linux zell.redhat.de 2.2.17-4smp #1 SMP Thu Oct 19 19:13:23 EDT
2000 i686 unknown
Machine Type: i386-redhat-linux-gnu
Bash Version: 2.04
Patch Level: 12
Release Status: release
Description:
read doesn't handle stuff being piped into it...
[bero@zell bero]$ read test
Linux now
[bero@zell bero]$ echo $test
Linux now
[bero@zell bero]$ test=""
[bero@zell bero]$ echo "Linux now" |read test
[bero@zell bero]$ echo $test
[bero@zell bero]$
Repeat-By:
See description
Fix:
Haven't had the time to look at it, maybe later.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- read doesn't handle pipes,
bero <=