Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
nosuchprogram 2> /dev/null
- X-seq: zsh-workers 28049
- From: Dave Yost <Dave@xxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: nosuchprogram 2> /dev/null
- Date: Sun, 20 Jun 2010 13:53:20 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:mime-version :message-id:date:to:from:subject:content-type; bh=KQ5MeyxS0eet59rvMzDRiogdzUIlrO777A9uaS4icLQ=; b=ONrZ12Sf7Sfm82+LXj1geutbofL2F5sPkwhBfFktGrQh/eKYt+aAroDasVxWqtl7en Y5ZxdpbzGzroyO8TBm1MoYldy3wOs9YmLs1DPjyje4I7gsV3pFI8pS4DH8zSzOzhL3oB q2SbfckxgARDeyvEOReBETI1c00NCVdRYXCbI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:mime-version:message-id:date:to:from:subject:content-type; b=LWr3NyAo9r3VeBO+3AphMBi1ZEsaG+a3sfZk9LmKFhDmjrY54Sz2Y0Dk4MIGNk37LN Z1pSliarsyrjytJRL1RLvBI7wASpmpYgwWkLkzjF32XsEZcn3KBz56NFRQ4korzrA+Yi vL+91yRNE+J3d9jJLYSNxrrUD2BC3DNyFAU0c=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Sender: Dave Yost <daveyostcom@xxxxxxxxx>
Sun 13:19:36 s3 yost /home/yost/mill/s3/personal/yost/bench
1 338 Z% nosuchprogram
zsh: command not found: nosuchprogram
Sun 13:20:21 s3 yost /home/yost/mill/s3/personal/yost/bench
127 339 Z% nosuchprogram 2> /dev/null
Sun 13:20:27 s3 yost /home/yost/mill/s3/personal/yost/bench
127 340 Z%
This command intends to redirect the output of nosuchcommand, but
unintentionally, it is also redirecting the error output from zsh
itself!
I think this behavior is wrong. I expected this:
Sun 13:19:36 s3 yost /home/yost/mill/s3/personal/yost/bench
1 338 Z% nosuchprogram 2> /dev/null
zsh: command not found: nosuchprogram
Sun 13:20:21 s3 yost /home/yost/mill/s3/personal/yost/bench
127 339 Z%
sh and bash act the same way.
This behavior is no doubt over 30 years old, so it would have to be
changed under control of an option. I think there should be such an
option.
Couldn't find anything about this anywhere within a reasonable amount
of time searching.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author