Use IO redirection to make the eval function actually have a working stdin

darcs-hash:20071005150245-75c98-d6a6d2f6ec1690079ee30f0e9cccf61e30e14c08.gz
This commit is contained in:
liljencrantz
2007-10-06 01:02:45 +10:00
parent e55739296d
commit 188f0454b7

View File

@@ -1,4 +1,4 @@
function eval -S -d "Evaluate parameters as a command"
echo $argv | .
echo begin\; $argv \;end eval2_inner \<\&3 3\<\&- | . 3<&0
end