wc(1) SIGINFO - show count so far

2015-06-25 Thread Jean-Philippe Ouellet
SIGINFO is awesome, but it's even better when it actually does something relevant. This makes it print the total counts so far to stderr. Useful? Feature creep? You decide. Index: wc.c === RCS file: /cvs/src/usr.bin/wc/wc.c,v

Re: wc(1) SIGINFO - show count so far

2015-06-25 Thread Theo de Raadt
We do not need (or want) SIGINFO support in a program like this. The complexity is way too high, and I see no benefit.