From: Adam Spiers <adam@spiers.net>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: zrecompile not verbose enough on failure?
Date: Sun, 21 Oct 2001 21:42:52 +0100 [thread overview]
Message-ID: <20011021214251.A31530@thelonious.new.ox.ac.uk> (raw)
Seen in zrecompile:
if { [[ ! -f $zwc ]] || mv $zwc ${zwc}.old } &&
zcompile $map $tmp $zwc $files 2> /dev/null; then
[[ -z $quiet ]] && print succeeded
else
[[ -z $quiet ]] && print failed
ret=1
fi
Why does zrecompile redirect STDERR to /dev/null when running
zcompile? It means that if you're doing something like
zrecompile ... -M -U ~/.zsh/functions.zwc ~/.zsh/functions/*(*)
then if something in ~/.zsh/functions has a syntax error, you just get
re-compiling /nfs-home/adams/.zsh/functions.zwc: failed
with no indication of which file was the culprit.
next reply other threads:[~2001-10-21 20:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-21 20:42 Adam Spiers [this message]
2001-10-22 1:59 ` Bart Schaefer
2001-10-22 11:29 ` Sven Wischnowsky
2002-03-06 14:43 ` Adam Spiers
2002-03-07 8:27 ` Sven Wischnowsky
2002-03-07 11:43 ` Adam Spiers
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=20011021214251.A31530@thelonious.new.ox.ac.uk \
--to=adam@spiers.net \
--cc=zsh-workers@sunsite.auc.dk \
/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).