command -v
is a POSIX safe way to find an executable program. While which
is very common, it still requires installation on many Linux operating systems, and so command -v
can offer a more portable alternative with a very low amount of additional cognitive overhead on the maintainers.
Additionally, use a subshell, $()
, over backticks for command substitution as $()
is recommended for multiple reasons including readability.
c.f.:
...
(backticks)?https://github.com/xrootd/xrootd/pull/1658
(4 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1