hello
how can i print to screen the result of this command ?
echo "pwd | sed 's/.*foo//'"
when i type it im geting it printed as string "pwd | sed 's/.*DevEnv//'"
and not the result of the operetion.
tnx
How did
echo "pwd | sed 's/.*foo//'"
appear as
pwd | sed 's/.*DevEnv//'
It should be
echo `pwd` | sed 's/.*foo//'
Just do:
pwd | sed 's/.*foo//'
the output will go to stdout.