[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "read"
From: |
Doug Kearns |
Subject: |
Re: "read" |
Date: |
Tue, 12 Mar 2002 23:39:30 +0000 |
User-agent: |
Mutt/1.3.27i |
On Tue, Mar 12, 2002 at 12:46:41PM +0100, Gabor Kiss [Bitman] wrote:
> Dear folks,
>
> bash(1) man page should be extended a bit. :-)
>
> read [-er] [-a aname] [-p prompt] [name ...]
> ...
> Common pitfalls:
> command | read var
> In this construct the outermost shell forks a subprocess
> for "read". "Read" sets variable "var" _in_his_own_
> environment, that will not effect the calling shell's
> environment.
See question E4 in the FAQ.
Regards,
Doug
- "read", Gabor Kiss [Bitman], 2002/03/12
- Re: "read",
Doug Kearns <=