Skip to content
  • Jilles Tjoelker's avatar
    sh: Write absolute path in command -vV and type · ccd0a51f
    Jilles Tjoelker authored
    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.
    ccd0a51f