Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
redirecting stdout of no/empty command
- X-seq: zsh-users 16706
- From: Isaac Huang <iclaymore@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: redirecting stdout of no/empty command
- Date: Fri, 6 Jan 2012 11:34:26 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=DYu8mWFh4BQ5m9LGxuBNCPdxL5is6kEDNXuBSm2w7Lk=; b=Bzr/uWv1My+ba6I6TUQSVkAT3lTyoVBqs5a2DTiaDWmuA3RLXbyHgxVNZlGudtSf5s ymQTxAp5m2OtmMu/bIHUfjw7KJoKKSRaJHBYP2G0f9Dw6EKNqTfmL2m5CfxaIe6QS6IW q+JG00t9fa62xJlR5JXUd3JjzPrTD/0FczE9M=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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