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