Reputation: 1835
When I run echo $PWD I get this verbose message,
echo $PWD
Path ---- /home/foo
How can I get rid of the irrelevant messages in the output? I simply need /home/foo just like in a bash environment.
/home/foo
Upvotes: 1
Views: 56
Reputation: 332
echo $PWD.path
$PWD is an object with a member Path.
Upvotes: 3