I believe I have found a bug in zsh. If the command contains an unmatched wildcard, the error message does not get redirected as it should. Cinsider the following interaction: cartman2% mkdir mydir cartman2% cd mydir cartman2% touch a b cartman2% ls ? >stdout1 2>stderr1 cartman2% ls -1 a b stderr1 stdout1 All above is expected behavior cartman2% ls ?? >stdout2 2>stderr2 zsh: no matches found: ??
ß error not redirected, stdout2 and stderr2 not created cartman2% ls -1 a b stderr1 stdout1 cartman2% -- Ross Boulet - |