[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:38, Simon McVittie 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?

It's native js code.
By no means it is a replacement to existing 'which' tools, and no executable
would be provided, only a library file.
We are questioning the pertinence about packaging such a small lib by itself,
on another thread.

Jérémy.


Reply to: