Opened 13 years ago

Closed 12 years ago

#281 closed bug (fixed)

which:general.lib is it really useful or obsolete?

Reported by: gorzel Owned by: seelisch
Priority: minor Milestone: 3-1-2 and higher
Component: singular-libs Version: 3-1-1
Keywords: Cc:


The proc which only displays the result of the unix-cmd which

by calling system("sh","which ..) but does not return it as a string.

The proc is never used in any library, and everybody can call the system-cmd directly.


    returns the absolute (path) name of the running SINGULAR as string. 

So, is there a need for such a proc ?

Change History (3)

comment:1 Changed 13 years ago by hannes

Owner: changed from hannes to somebody

comment:2 Changed 12 years ago by seelisch

Owner: changed from somebody to seelisch

comment:3 Changed 12 years ago by seelisch

Resolution: fixed
Status: newclosed

obselete after enhancements by Hans; write e.g.

string s = read("|: which gcc");

to obtain path to gcc in string s

Note: See TracTickets for help on using tickets.