Debian's which hunt
Debian's which hunt
Posted Nov 16, 2021 21:35 UTC (Tue) by mathstuf (subscriber, #69389)In reply to: Debian's which hunt by nybble41
Parent article: Debian's which hunt
That is indeed useful for on the command line. Unfortunately, being GNU-specific, I am stuck without it for portable scripts. And some testing shows that `../` in the presence of directory symlinks shifting around what `../` means doesn't confuse it (probably by doing `realpath` on everything rather than trying to do string logic on paths).