← Back to team overview

touch-packages team mailing list archive

[Bug 1539932] [NEW] `command -pv` does not restrict search to same directories as `command -p`

 

Public bug reported:

This works differently than bash in this case.
Say you have /opt in PATH and x in /opt. 
 dash -c "command -pv x"
prints "/opt/x" and exits with 0 whereas 
 bash -c "command -pv x"
prints nothing and exits with 1.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: dash 0.5.7-4ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-76.120-lowlatency 3.13.11-ckt30
Uname: Linux 3.13.0-76-lowlatency x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Jan 30 17:28:05 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-21 (496 days ago)
InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1)
SourcePackage: dash
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dash in Ubuntu.
https://bugs.launchpad.net/bugs/1539932

Title:
  `command -pv` does not restrict search to same directories as `command
  -p`

Status in dash package in Ubuntu:
  New

Bug description:
  This works differently than bash in this case.
  Say you have /opt in PATH and x in /opt. 
   dash -c "command -pv x"
  prints "/opt/x" and exits with 0 whereas 
   bash -c "command -pv x"
  prints nothing and exits with 1.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: dash 0.5.7-4ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-76.120-lowlatency 3.13.11-ckt30
  Uname: Linux 3.13.0-76-lowlatency x86_64
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat Jan 30 17:28:05 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-09-21 (496 days ago)
  InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1)
  SourcePackage: dash
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/1539932/+subscriptions