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.

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

Re: wc annoyances

2003-07-20 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: ... > 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 it > turns out that the coreutils documentation is incorrect about what > POSIX requires for 'wc'. When this misund

Re: coreutils-5.0.1 released

2003-07-20 Thread Jim Meyering
[EMAIL PROTECTED] (Paul Jarc) wrote: > Jim Meyering <[EMAIL PROTECTED]> wrote: >> * tests/rm/fail-2eperm: Now that we have setuidgid, use it in >> place of the kludge in this test. > > How about also using this to run the non-root-only tests when "make > check" runs as root? That was the

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 SUNW,

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 wc count field widths now are heuristically adjusted depending on the input size, if known. If only one count is printed, it is gu