standards/84539: [ patch ] add support of -V and -v args for
command (sh(1) builtin)
Roman Bogorodskiy
novel at FreeBSD.org
Thu Aug 4 06:30:11 GMT 2005
>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 at 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:
More information about the freebsd-standards
mailing list