Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Redirected function output



Redirect function output appears to screw up the shell.

sdlhpp33:daniel 5820> echo $ZSH_VERSION 
2.6-beta9-test2

sdlhpp33:daniel 5821> a()
> {
> echo a
> }

sdlhpp33:daniel 5822> a > /dev/null


In this case the lkast command does not return, if ran in a script then the 
function returns, but the output of following commands is redirected to who 
knows where ..... ^C does not even get the prompt back.

--

Daniel Dignam,
Unigraphics Cambridge 

Internet: daniel@xxxxxxxxxx
   Phone: +44 1223-371591
     FAX: +44 1223-316931
    http://www-sdl.ug.eds.com/ug_assemblies.html



Messages sorted by: Reverse Date, Date, Thread, Author