From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 8 11:10:22 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DC2816A4CF for ; Tue, 8 Feb 2005 11:10:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB13943D4C for ; Tue, 8 Feb 2005 11:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j18BALE2066142 for ; Tue, 8 Feb 2005 11:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j18BALRM066141; Tue, 8 Feb 2005 11:10:21 GMT (envelope-from gnats) Resent-Date: Tue, 8 Feb 2005 11:10:21 GMT Resent-Message-Id: <200502081110.j18BALRM066141@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bram Moolenaar Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D233116A4CE for ; Tue, 8 Feb 2005 11:04:57 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B675043D49 for ; Tue, 8 Feb 2005 11:04:57 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j18B4uoI074120 for ; Tue, 8 Feb 2005 11:04:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j18B4uXX074118; Tue, 8 Feb 2005 11:04:56 GMT (envelope-from nobody) Message-Id: <200502081104.j18B4uXX074118@www.freebsd.org> Date: Tue, 8 Feb 2005 11:04:56 GMT From: Bram Moolenaar To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/77259: shell command "command -v cmd" doesn't work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 11:10:22 -0000 >Number: 77259 >Category: misc >Synopsis: shell command "command -v cmd" doesn't work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 08 11:10:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Bram Moolenaar >Release: 5.3 >Organization: Vim >Environment: FreeBSD masaka.moolenaar.net 5.3-RELEASE FreeBSD 5.3-RELEASE #11: Mon Jan 24 22:35:11 CET 2005 mool@masaka.moolenaar.net:/usr/src/sys/i386/compile/MASAKA i386 >Description: In a "sh" shell the "command" command doesn't accept the "-v" argument. This breaks shell scripts that were written for a POSIX shell. This is more lack of a feature than a real bug, but since the shell scripts work fine otherwise, fixing this problem will help people trying to run the POSIX test suite on FreeBSD. >How-To-Repeat: % /bin/sh $ command -v ls command: unknown option: -v $ >Fix: Should modify commandcmd() in /usr/src/bin/sh/eval.c. >Release-Note: >Audit-Trail: >Unformatted: