[Top][All Lists]

[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' 
-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

        read doesn't handle stuff being piped into it...
        address@hidden bero]$ read test
        Linux now
        address@hidden bero]$ echo $test
        Linux now
        address@hidden bero]$ test=""
        address@hidden bero]$ echo "Linux now" |read test
        address@hidden bero]$ echo $test
        address@hidden bero]$

        See description

        Haven't had the time to look at it, maybe later.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]