[Gambas-devel] Gambas 1.9.46 Help

Stefano Palmeri rospolosco at ...29...
Tue Nov 14 17:15:01 CET 2006


Alle 16:35, martedì 14 novembre 2006, Fabien Bodard ha scritto:
> the 'which ' command seem to not working at the same in debians system an
> madiva ones. as Benoit seem to say it return something with 'which: /path'
> and me i've directly the path ... so LIKE "which: *" will always return
> false in my case. I think the better is to test if a begining path is
> returned as : LIKE "/usr*", as which seem to return nothing in other case
> and as webbrowsers are installed in /usr path in more that 95 % of cases.
> 
> regards,

Hi, Fabien.

which returns "which: blahblah" only when it doesn't find the program 
in the path. When it finds the program it just outputs the program path.

Regards,

Stefano




More information about the Devel mailing list