Subject: bug#76521: 31.0.50; TRAMP couldn't find `ls' on OpenBSD

From: Michael Albinus <[email-masked]>
Date: Mon, 24 Feb 2025 20:01:55 +0100

Manuel Giraud <[email-masked]> writes:

>>> 15:26:53.972145 tramp-send-command (6) #
>>> PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
>>> type -P readlink 2>/dev/null
>>> 15:26:53.973329 tramp-wait-for-regexp (6) #
>>> ///dd2d77bb0b39480e03427f29d539c6cd#$
>>
>> Strange. No output.
>>
>> What happens, if you call in a shell
>>
>> PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin type -P readlink
>
> I get the following error:
>
> /bin/ksh: type: -P: unknown option

Nothing else? And what happens with

--8<---------------cut here---------------start------------->8---
# PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin type readlink
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.