Re: Bug#642416: ITP: node-which -- Like which(1) unix command for Node
On Thu, Sep 22, 2011 at 10:38 AM, Simon McVittie <smcv@debian.org> wrote:
> On Thu, 22 Sep 2011 at 15:34:31 +0200, Jérémy Lal wrote:
>> node-which finds the first instance of a specified executable
>> in the PATH environment variable.
>
> How does this differ from:
>
> * the 'which' utility in debianutils (which is Essential: yes)
>
> * the 'which' builtin in shells that have copied it from csh (including zsh)
>
> * command -v, which exists on every POSIX system supporting the User
> Portability Utilities option, and in particular is a builtin in dash
>
> * command -V, a more verbose form of command -v, which exists on every POSIX
> system supporting the User Portability Utilities option, and in particular
> is a builtin in dash
>
> and how/when is it be better or more useful than those?
>
> S
>
AFAICT it's not meant to be used from the CLI - I think this would be
better as libnode-which - but it's also like 70 lines.
I'm not sold on this package, either TBH, but I think it would
actually be useful to someone, somewhere at sometime. Perhaps consider
this for inclusion when it's needed?
--
All programmers are playwrights, and all computers are lousy actors.
#define sizeof(x) rand()
:wq
Reply to: