On Mon, May 20 2019, David Bremner wrote: > Daniel Kahn Gillmor <d...@fifthhorseman.net> writes: > >> When using a promiscuous linker, _check_session_keys was working fine. >> > > cleanup series pushed, with one minor change. For reasons that Tomi can > explain, we use "command -v" instead of "which" in scripts.
command is shell builtin, and all modern shells knows the command -v name >/dev/null construct. and works similarly, hash is also shell builtin, but in ksh it returns 0 even the name in question is not found. So when someone uses parts of our shell scripts as an example when they do their own they have better change of succeeding. which(1) is not shell builtin, usually located at /usr/bin. BR, Tomi > > d _______________________________________________ notmuch mailing list email@example.com https://notmuchmail.org/mailman/listinfo/notmuch