Re: wc annoyances

2003-07-20 Thread Paul Eggert
Daniel Russell [EMAIL PROTECTED] writes: [ `cat autolist-next.num` -gt `wc -l autolist.txt` ] That's easy enough to fix by using `wc -l autolist.txt` instead. However, I agree with you that the leading spaces are annoying; this has bitten me as well, in other examples. I looked into this, and

Re: man page portability concern

2003-07-20 Thread Paul Eggert
Wendy Palm [EMAIL PROTECTED] writes: Copyright \(co 2003 Free Software Foundation, Inc. \(co gives a copyright symbol on my linux box, but results in the curser going to the top of the window and overwriting on all my other machines sun blade (5.8 Generic_108528-19 sun4u sparc

Re: wc annoyances

2003-07-20 Thread Paul Eggert
Jim Meyering [EMAIL PROTECTED] writes: Not that it matters, but in some unusual cases, the new widths are worse than the old: $ dd bs=1 seek=1G of=b /dev/null 2 /dev/null $ ./wc -lw b 0 0 b $ wc -lw b 0 0 b Yes, that's true. The only way to

Re: wc annoyances

2003-07-20 Thread Jim Meyering
Paul Eggert [EMAIL PROTECTED] wrote: Anyway, I noticed on glitch in the merged version; here's a patch. 2003-07-20 Paul Eggert [EMAIL PROTECTED] * src/wc.c (get_input_fstatus): Fix typo: `stat' was being invoked with a null pointer when there were no file arguments. Glad you