zsh-users
 help / color / mirror / code / Atom feed
* redirecting stdout of no/empty command
@ 2012-01-06 18:34 Isaac Huang
  2012-01-06 18:43 ` Daniel Shahaf
  0 siblings, 1 reply; 5+ messages in thread
From: Isaac Huang @ 2012-01-06 18:34 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-06 20:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-06 18:34 redirecting stdout of no/empty command Isaac Huang
2012-01-06 18:43 ` Daniel Shahaf
2012-01-06 19:07   ` Damien Thébault
2012-01-06 19:20     ` Daniel Shahaf
     [not found]   ` <CAEcrOvDimRXcWSrjnuasfQGy0F66xAg1bxTGmjMQ2_cgXCwKvQ__39184.4791862697$1325877047$gmane$org@mail.gmail.com>
2012-01-06 20:36     ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).