HomeFreeBSD

sh: Write absolute path in command -vV and type

Description

sh: Write absolute path in command -vV and type

POSIX is pretty clear that command -v, command -V and type shall write
absolute pathnames. Therefore, we need to prepend the current directory's
name to relative pathnames.

This can happen either when PATH contains a relative pathname or when the
operand contains a slash but is not an absolute pathname.

Details

Provenance
jillesAuthored on
Parents
rS365036: Make hardware TLS send tag allocation synchronous in mlx5en(4).
Branches
Unknown
Tags
Unknown