Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: which witch or witch which?

From   "Steichen, Thomas J." <[email protected]>
To   <[email protected]>
Subject   st: which witch or witch which?
Date   Thu, 21 Oct 2004 14:57:00 -0400

Just in time for Halloween, a devilishly simple utility program called -witch- has been placed on the Boston SSC archive.  The whole
syntax is:

   witch fname[.ftype] [, noall noalltypes]

That is, everything except a filename is optional... no tricks, just a treat.

The abstract claims, that "-witch- is a more comprehensive version of the Stata-supplied command -which-.  Like -which-, it looks
for file "fname.ftype" along the S_ADO path.  Unlike -which-, it reports the location of all files matching fname.ftype found along
the search path, not just the first one.  Further, if ".ftype" is omitted, -witch- automatically searches along the ado-path for
"fname" with all ftype's .ado, .hlp, .dlg, .idlg, .class, .scheme, and"

Realistically, -witch- is useful mostly for locating all locally installed versions of an .ado along with all versions of its
supporting .hlp and .dlg files.

Thomas J. Steichen
[email protected]

CONFIDENTIALITY NOTE:  This e-mail message, including any  attachment(s),
contains information that may be confidential,  protected by the attorney-
client or other legal privileges, and/or  proprietary non-public
information.  If you are not an intended  recipient of this message or an
authorized assistant to an intended  recipient, please notify the sender by
replying to this message and  then delete it from your system.  Use,
dissemination, distribution,  or reproduction of this message and/or any of
its attachments (if  any) by unintended recipients is not authorized and
may be unlawful.

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index