Date: Thu, 4 Aug 2005 06:25:10 GMT From: Roman Bogorodskiy <novel@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: standards/84539: [ patch ] add support of -V and -v args for command (sh(1) builtin) Message-ID: <200508040625.j746PADR035777@freefall.freebsd.org> Resent-Message-ID: <200508040630.j746UATG035858@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84539 >Category: standards >Synopsis: [ patch ] add support of -V and -v args for command (sh(1) builtin) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 04 06:30:09 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Roman Bogorodskiy >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 4.11-STABLE FreeBSD 4.11-STABLE #16: Sat Feb 26 00:02:03 GMT 2005 kensmith@freefall.freebsd.org:/c/src/sys/compile/FREEFALL i386 >Description: Make sh(1) builtin "command" POSIX 2001 complant by adding -v and -V args support. Patch is avaible here: http://people.freebsd.org/~novel/patches/freebsd/src.bin.sh.command_vV.diff Notes: I made two separate functions for -v (prints what will be executed) and -V (prints description). It's possible to make one function for that, which would read verbosity level from second arg. But I'm not sure it would be better/faster/easier/etc. References: http://people.freebsd.org/~schweikh/posix-utilities.html#command >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508040625.j746PADR035777>