On Thu, Sep 22, 2011 at 10:38 AM, Simon McVittie <s...@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 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAO6P2QRnj=AoZ7WOoxpgE-wRi8=by+yskd+obsaxzz8p-1b...@mail.gmail.com