GNU bug report logs -
#76521
31.0.50; TRAMP couldn't find `ls' on OpenBSD
Previous Next
Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>
Date: Mon, 24 Feb 2025 09:30:02 UTC
Severity: normal
Found in version 31.0.50
Fixed in version 31.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 76521 <at> debbugs.gnu.org (full text, mbox):
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Manuel Giraud <manuel <at> ledu-giraud.fr> 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
No nothing else. FWIW the following seems to work as expected both bash
and ksh:
$ PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin command -pv readlink
/usr/bin/readlink
> # PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin type readlink
This prints:
readlink is /usr/bin/readlink
--
Manuel Giraud
This bug report was last modified 142 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.