Damus
Brandon profile picture
Brandon
@Brandon
#askfedi , why does an inline `which python` or similar show up in bash scripts? If my understanding is correct, the which is redundant since it would search the same paths for a canonical path to an executable as just running python.
1
nilix · 18w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpquyzwcu49wsnhq0x6zrh9lrc7zt0ur543xykrgdxfeyd395yrg0lsmvjly7 it gets the path in case of an alias or shell function shadowing the name.