Today I learned that (TILT) I can use xargs and $() to send the output of one command line app to be used as the parameters of the next.
For some reason, I needed the version of make
on my macOS. A quick trip to Terminal.app
and make --version
spits out the required information. But wait, what was this in the corner?
This program built for i386-apple-darwin11.3.0.
So was make
an intel binary? file
can be used to determine the binary architecture but what was the path to make
? Fiddling through the man pages showed me that whence -pa
[^1] will find all copies (excluding aliases) of make
in my PATH
.