Subject: bin/36154: /usr/bin/xargs: conformance to susv3
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <cheusov@tut.by>
List: netbsd-bugs
Date: 04/16/2007 12:30:00
>Number: 36154
>Category: bin
>Synopsis: /usr/bin/xargs: conformance to susv3
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 16 12:30:00 +0000 2007
>Originator: cheusov@tut.by
>Release: NetBSD 4.0_BETA2
>Organization:
Best regards, Aleksey Cheusov.
>Environment:
System: NetBSD chen.chizhovka.net 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #10: Sun Mar 18 13:38:19 EET 2007 cheusov@chen.chizhovka.net:/srv/src-netbsd-4/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
SUS requires -I option to xargs utility. NetBSD doesn't provide it.
-I replstr
[XSI] [Option Start] Insert mode: utility is executed for
each line from standard input, taking the entire line as a
single argument, inserting it in arguments for each occurrence
of replstr. A maximum of five arguments in arguments can each
contain one or more instances of replstr. Any <blank>s at the
beginning of each line shall be ignored. Constructed arguments
cannot grow larger than 255 bytes. Option -x shall be forced
on. [Option End]
>Fix:
FreeBSD and OpenBSD implement this option.
P.S.
Both FreeBSD and OpenBSD implement unstandard option -J,
you may find it interesting also.
>Unformatted: