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

redirecting stdout of no/empty command



Hi list,

I noticed a zsh behaviour today. If I tried to run '>/dev/null' (i.e.
stdout redirection of no command at all) on an interactive zsh, the
zsh would actually run a 'cat', and it wouldn't exit until a ^D or ^C.

The same thing on bash seemed to be a no-op. I wonder why zsh would
run 'cat' when it was given no command to run at all.

Please CC me as I'm not on the list. Thanks.

- Isaac



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