utils-std version 0.0.3 - 2025-04-12 = Highlights = == Fixed == - Correctly handle clearing & adding setuid/setgid/sticky-mode - readlink: Fix -n handling when -f is passed - lib/sys_signame.c is no longer pregenerated == Added == - New commands: getconf uuencode - echo: support for -e and -E == Changed == - Explicitly depend on m4(1), used for getconf and date(1)/touch(1) manpages - Unsupported long options should now be properly included in the error message Before: `cut: error: Unhandled option '--'` Now: `cut: error: Long options unsupported: '--foo'` = Full changelog = Haelwenn (lanodan) Monnier (56): cmd/mktemp.1: Add cross-reference to mkdtemp(3) and mkstemp(3) test-cmd/mktemp.sh: don't split args in t_mktemp and t_mkdtemp cmd/mktemp: treat newline as invalid in template for -u cmd/mktemp: make template & template_copy variables static cmd/*.1: use standard mdoc date format instead of ISO cmd/printf.1: remove .Xr builtin 1 cmd/printf: add support for \e and \c escape codes cmd/base64: Add note about terminal line buffering check setlocale() return value, emit warning if NULL cmd/date: Fix == instead of = for date_strftime() buf README: Add m4(1) in dependencies README: Add Building section README: reword coreutils difference and non-goals a bit cmd/getconf: new cmd/getconf: warn when a limits.h variable is undefined test-cmd/getconf.sh: new cmd/getconf: gracefully handle confstr/sysconf variable names being undefined cmd/getconf: fix error messages cmd/getconf: continue after errors for -a test-cmd/getconf.sh: throw error messages for nodupes check cmd/expr: gracefully handle long options cmd/*: gracefully handle errorneous long options cmd/getconf: remove duplicate NSIG_MAX entry cmd/getconf: toss _XOPEN_IOV_MAX on glibc cmd/*: still make -- end options when hangling long Revert "cmd/expr: gracefully handle long options" Revert "cmd/*: gracefully handle errorneous long options" Revert "cmd/*: still make -- end options when hangling long" Gracefully handle long options when unsupported lib/getopt_nolong: handle NULL argv[optind] lib/getopt_nolong: add got_long_opt cmd/*: Add basic got_long_opt handling cmd/getconf_vars.m4: remove extraneous manual #ifdef cmd/uuencode: new cmd/echo: support -e and -E options for toggling escape codes support test-cmd/echo.sh: further normalize od(1) output cmd/echo: fix variable declaration inside switch-case .builds: split `make clean check` lib/sys_signame.c: remove, always regenerate Makefile: SYMLINKS += cmd/uuencode cmd/base64: fix strrchr(arg0, …) logic cmd/echo: also output '-' as-is cmd/getconf: Align -a option with Austin Group Issue 1808 cmd/touch.1.in: remove errorneous -c entry cmd/chmod.1: split lines longer than 80 chars cmd/*.1*: document extensions history between 0.0.1 and 0.0.2 README: Add link to homepage lib/iso_parse.c: Add notes around tzalloc and mktime_z from Austin Group Issue 1794 cmd/getconf_vars: fix duplicated _POSIX_SS_REPL_MAX cmd/realpath: (readlink) fix -n handling when -f is passed test-cmd/echo: test unspecified backlash escape as well test-cmd/seq: add tests for -w (constant width) test-cmd/shuf: add tests for -e mode as well test-cmd/uname: add tests for -r and -v lib/mode: fix handling of …-s / …=s and …-t / …=t test-cmd/tty: add back /dev/null tests