From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- pkg/language/doc/which.hlp | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkg/language/doc/which.hlp (limited to 'pkg/language/doc/which.hlp') diff --git a/pkg/language/doc/which.hlp b/pkg/language/doc/which.hlp new file mode 100644 index 00000000..54d50f3c --- /dev/null +++ b/pkg/language/doc/which.hlp @@ -0,0 +1,45 @@ +.help "which,whereis" Mar04 language +.ih +NAME +.nf +which -- locate a task in the package list +whereis -- locate all occurrences of a task in the package list +.fi +.ih +USAGE +.nf +which [task] [...] +whereis [task] [...] +.fi +.ih +PARAMETERS +.ls task +Name of task to be located. +.le +.ih +DESCRIPTION +The \fIwhich\fR command returns the first occurrence of a task in the currently +loaded package list. The \fIwhereis\fR command returns all occurrences of that +task in the package list. More than one task may be supplied on the command +line, unique abbreviations for task names are permitted. + +These commands are similar to the UNIX commands of the same name. Users should +note that \fIonly\fR the currently loaded packages are searched. +.ih +EXAMPLES +1. Find out which package contains the HEAD task. +.nf + + cl> which head + system +.fi + +2. Find all currently loaded package which contain the SPLOT task. +.nf + + cl> whereis splot + echelle onedspec +.fi +.ih +SEE ALSO +.endhelp -- cgit