zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: isabella parakiss <izaberina@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH] print errors to stderr
Date: Wed, 22 Jun 2016 09:42:06 +0200	[thread overview]
Message-ID: <23718.1466581326@thecus.kiddle.eu> (raw)
In-Reply-To: <576a3601.43921c0a.46393.50ee@mx.google.com>

isabella parakiss wrote:
> Subject: [PATCH] print errors to stderr
> @@ -3633,8 +3633,8 @@ bin_whence(char *nam, char **argv, Options ops, int func)
> -		zputs(*argv, stdout);
> -		puts(wd ? ": none" : " not found");
> +		zputs(*argv, stderr);
> +		zputs(wd ? ": none" : " not found", stderr);

I think this behaviour is actually intentional. It is arguably not an
error - the whence command's purpose is to search for something and
report on whether it is found. So it doesn't rely on finding it. Also,
this is compatible with csh and tcsh - the which command was a csh thing
first.

Oliver


  reply	other threads:[~2016-06-22  7:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-22  6:53 isabella parakiss
2016-06-22  7:42 ` Oliver Kiddle [this message]
2016-06-22 17:14   ` Bart Schaefer
2016-06-23 10:04     ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23718.1466581326@thecus.kiddle.eu \
    --to=okiddle@yahoo.co.uk \
    --cc=izaberina@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).