[email protected] (Chuck Wolber) wrote on 29.06.01 in <[email protected]>:
> > Does sed tell you who programmed it on startup?
> >
> > Awk?
> >
> > Perl?
> >
> > Groff?
> >
> > Gcc?
> >
> > See a pattern here?
>
> Yeah, the output of these programms are usually parsed by other programs.
s/usually/sometimes/
Most of the time, it's only parsed by humans, with the possible exception
of awk.
But feel free to look for other common Unix programs that behave
differently. df, du, ps, ls, bash ... there *are* programs that announce
the copyright at the start, but there are damned few of them. It's not in
the culture.
> If they barked version info, that'd be extra code that has to go into
> *EVERY* script that uses them. You're not using the kernel in the same
> capacity.
OTOH, kernel output typically *always* goes into another program (dmesg,
klog, syslog) ... though admittedly parsing it is not common. Well, except
for the oops part (klogd, ksymoops).
MfG Kai