Thread (15 messages) flat view 15 messages, 7 authors, 2021-12-29

Re: [Buildroot] [PATCH 0/1] Build issue related to "command -v"

From: David Laight <hidden>
Date: 2021-09-29 16:15:46

...
Meanwhile, 'which' is not standard, and right now, it misbehaves on
Debian by filling the screen with warnings.
'which' is a shell script that is trying to emulate a csh builtin.
I've NFI why people keep using it :-)

The equivalent bourne shell command is 'type'.

As for 'command -v' no idea what the POSIX committee had
for lunch that day :-)
It was probably they same day they added 'fc' (from ksh??)

	David


	

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help