bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"read"


From: Gabor Kiss [Bitman]
Subject: "read"
Date: Tue, 12 Mar 2002 12:46:41 +0100 (MET)

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.

Regards

Gabor




reply via email to

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