bug-bash
[Top][All Lists]
Advanced

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

find help about 'read' built-in command


From: 龙海涛
Subject: find help about 'read' built-in command
Date: Wed, 14 Nov 2007 11:59:48 +0800

sorry for my simple problem.

i want to store the current working dir to a variable, i write
-------------------
pwd | read test
-------------------
and i test the variable:
-------------------
echo $test
-------------------

but the $test is empty.

did i make any stupid mistake?
3x for your attention and comment.

bash version:
GNU bash, version 3.1.17(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.




reply via email to

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