[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#642416: ITP: node-which -- Like which(1) unix command for Node



On 22/09/2011 16:54, Paul Tagliamonte wrote:
> 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.

It will probably be named "libnode-which" but i started a discussion on
pkg-javascript-devel about that naming scheme [1]

 
> 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?

npm 1.0 depends on it, otherwise i wouldn't dare packaging this.

Jérémy.


Reply to: