From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.auc.dk
Subject: Re: tcsh -X behavior
Date: Fri, 13 Oct 2000 23:23:28 +0200 [thread overview]
Message-ID: <20001013232328.A17758@vin.ens-lyon.fr> (raw)
In-Reply-To: <gmv7l7c4tc6.fsf@kempelen.iit.bme.hu>; from airwin@inf.bme.hu on Fri, Oct 13, 2000 at 06:08:25PM +0200
On Fri, Oct 13, 2000 at 18:08:25 +0200, Nemeth Ervin wrote:
> So in a shell-script:
>
> if hash ls 2> /dev/null; then
> :
> fi
I currently use "whence >/dev/null" (it checks for aliases too, but this
is OK for me). What is the best one?
But IMHO, a -X operator would be a good idea.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / PolKA research team at LORIA
prev parent reply other threads:[~2000-10-13 21:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-13 15:29 Vincent Lefevre
2000-10-13 16:08 ` Nemeth Ervin
2000-10-13 21:23 ` Vincent Lefevre [this message]
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=20001013232328.A17758@vin.ens-lyon.fr \
--to=vincent@vinc17.org \
--cc=zsh-users@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).