[dev] Suggestion for project idea/christmas hacking: sbase xargs -P and -0 support

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri, 13 Dec 2024 17:25:54 +0100

Hi,

I have a suggestion for sbase xargs.

It would be very useful to add the -0 (NUL separators) and -P (parallel jobs)
options.

Strictly speaking these options non-POSIX, but very useful.
Almost all implementations support them.

Maybe a nice project for new contributors who want to do some christmas
hacking? ;)


References:

- OpenBSD xargs -0 (1996-06-11):
  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/xargs/xargs.c?rev=1.2&content-type=text/x-cvsweb-markup
- OpenBSD xargs -P (2003-12-06):
  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/xargs/xargs.c?rev=1.14&content-type=text/x-cvsweb-markup
- GNU findutils its initial git import has both options (Sun Feb 4 1996).
- Suckless project ideas / sbase TODO/README:
  http://suckless.org/project_ideas/
  http://git.suckless.org/sbase/file/README.html#l143
- POSIX xargs:
  https://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html

-- 
Kind regards,
Hiltjo
Received on Fri Dec 13 2024 - 17:25:54 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 13 2024 - 17:36:11 CET