The *ART* of Computer Programming
Peter da Silva
peter at ficc.uu.net
Tue Mar 6 10:59:02 AEST 1990
People write once-only programs all the time. It's just that in UNIX, they
never get stored anywhere. For example:
$ for i in *.c; do if grep errno $i; then
> ed - $i << !
> /^#include <errno.h>/a
> extern int errno;
> .
> w
> q
> !
> fi; done
$
--
_--_|\ Peter da Silva. +1 713 274 5180. <peter at ficc.uu.net>.
/ \
\_.--._/ Xenix Support -- it's not just a job, it's an adventure!
v "Have you hugged your wolf today?" `-_-'
More information about the Comp.unix.wizards
mailing list