On 17/08/2026 00:20, Collin Funk wrote:
This adjusts the error messages to be a bit more descriptive. Here are
the previous errors:

   $ LC_ALL=C src/stdbuf-prev -o1a true
   stdbuf-prev: invalid mode '1a'
   $ LC_ALL=C src/stdbuf-prev -oa true
   stdbuf-prev: invalid mode 'a'
   $ LC_ALL=C src/stdbuf-prev -o1Z true
   stdbuf-prev: invalid mode '1Z': Value too large for defined data type

Here are the new errors:

   $ LC_ALL=C src/stdbuf -o1a true
   stdbuf: invalid suffix in -o argument '1a'
   $ LC_ALL=C src/stdbuf -oa true
   stdbuf: invalid -o argument 'a'
   $ LC_ALL=C src/stdbuf -o1Z true
   stdbuf: -o argument '1Z' too large

LGTM.

cheers,
Padraig


Reply via email to