Closed ale5000-git closed 1 month ago
In bash online this only return unique values:
PATH="${PATH}:/usr/bin/find:/bin/find:/usr/bin/find:/bin/find" which -a find
It returns a single value because you're adding file names instead of directories.
Try this instead, just duplicate the path, e.g. on ubuntu in bash:
$ PATH=$PATH:$PATH which -a find
/usr/bin/find
/bin/find
/usr/bin/find
/bin/find
So it looks to me that busybox-w32 behaves like bash.
Damn, this happen when copy-pasting in hurry. Sorry and thanks.
In bash online this only return unique values:
Instead on BusyBox for Windows this will return duplicates: