Top
Back: watchdog
Forward: primecoeffs
FastBack: all_lib
FastForward: inout_lib
Up: general_lib
Top: Singular 2-0-6 Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.2.17 which

Procedure from library general.lib (see general_lib).

Usage:
which(command); command = string expression

Return:
Absolute pathname of command, if found in search path. Empty string, otherwise.

Note:
Based on the Unix command 'which'.

Example:
 
LIB "general.lib";
which("sh");
==> /bin/sh


Top Back: watchdog Forward: primecoeffs FastBack: all_lib FastForward: inout_lib Up: general_lib Top: Singular 2-0-6 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-6, November 2004, generated by texi2html.