Error message output
steve at sohara.org
Mon Sep 21 08:09:49 UTC 2020
On Sun, 20 Sep 2020 22:12:24 -0700
David Christensen <dpchrist at holgerdanske.com> wrote:
> I have been migrating my programming style towards a data flow paradigm,
> which includes "command-line filters". So, an "ideal" command-line
> program or script would:
> * Use stdin for the input data.
> * Use stdout for the output data.
> * Use configuration files, command-line options and arguments, received
> signals and direct tty reads for out-of-band/ non-data input.
This is where the standard set of unix devices is lacking, I have
long thought that there should be a stdctl then stdin/stdout are data flow
and stdtctl/stderr are control flow.
> * Use stderr, log files, and the exit value for out-of-band/ non-data
Steve O'Hara-Smith <steve at sohara.org>
More information about the freebsd-questions