Re: finger & pinky commands reports improper exit status

2008-07-03 Thread Jim Meyering
"Halesh S" <[EMAIL PROTECTED]> wrote: > The last patch has missied for no-args. > The attached patch will fix the issue. Thanks for the work and patches. However, before I can accept it, here are some things you'll need to do: - also work with -l (long_pinky) - "pinky" (with no arguments) sho

Re: finger & pinky commands reports improper exit status

2008-07-03 Thread Halesh S
The last patch has missied for no-args. The attached patch will fix the issue. Thanks, Halesh n 7/3/08, Halesh S <[EMAIL PROTECTED]> wrote: > Test 1: > -- > $ finger > finger: 1: no such user. > $echo $? > 0 > > Test 2: > -- > $pinky > LoginName TTY

(no subject)

2008-07-03 Thread Craig Naumann
hello, i cant use the "ls" command in cygwin, it says command not found. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

RE: wc -m count is wrong

2008-07-03 Thread Hossain, Syed
Bob Thanks for getting back to me promptly. I can understand now why wc increasing it by one but it is obviously, the explanation you gave me should be documented in man page or info page, agreed? Thanks. Syed -Original Message- From: Bob Proulx [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: tee logs no output if stdout is closed

2008-07-03 Thread Phillip Susi
Andreas Schwab wrote: It would match the behaviour as defined by ASYNCHRONOUS EVENTS in 1.11 Utility Description Defaults. Could you quote that section or give me a url to somewhere I can see it myself? I have no idea what it says nor where to look it up. Also what about the issue where tee

Re: "echo -e" bug

2008-07-03 Thread Bob Proulx
Micah Cowan wrote: > Andrew Panin wrote: > > I can't make echo to show \n and \r symbols. According to 'man echo', > > there's a way to do this by using '-e' option. > > > > However, this doesn't help. Doesn't even matter which option I choose > > (even 'echo -e \015'), it just shows '015' literal

Re: wc -m count is wrong

2008-07-03 Thread Bob Proulx
Hossain, Syed wrote: > I am surprised that I could not found any posting related to this, Here is a recent one. :-) http://lists.gnu.org/archive/html/bug-coreutils/2008-04/msg00238.html > /home/shossain$ echo 1234 | wc -m > 5 > Obviously I was expecting a count of 4 but wc printed out 5. I ha

Re: du: cache directory size

2008-07-03 Thread Mildred
Le Thu 03/07/2008 à 14:29 Philip Rowlands à écrit: > Unfortunately neither the atime nor mtime of a directory would > necessarily show a change to the disk usage of the enclosed files. > Consider a logfile, for example; the filesize grows continuously, but > makes no change to the directory.

Makefile.am issue (and patch)

2008-07-03 Thread Brian Silverman
I'm having a small issue with make install of coreutils. I've included below a patch that solves my problem. I am using coreutils-6.12, and building it under cygwin, and I'm cross-compiling it to a PPC-440. Here's my build steps: ./configure --host=powerpc-440-linux-gnu --prefix="`pwd`

wc -m count is wrong

2008-07-03 Thread Hossain, Syed
Hi gurus, I am surprised that I could not found any posting related to this, I was doing simple character count and here is the output from wc: /home/shossain$ echo 1234 | wc -m 5 /home/shossain$ Obviously I was expecting a count of 4 but wc printed out 5. I have tried different strin

Re: du: cache directory size

2008-07-03 Thread Pádraig Brady
Mildred wrote: > Hi, > > I noticed that du takes a long time to scan directories and measure > disk usage. > > I was thinking that perhaps caching the size of directories could bu > useful. Perhaps, after du computes the size of a directory, it could > write its size in its extended attributes (i

Re: du: cache directory size

2008-07-03 Thread Philip Rowlands
On Wed, 2 Jul 2008, Mildred wrote: I was thinking that perhaps caching the size of directories could bu useful. Perhaps, after du computes the size of a directory, it could write its size in its extended attributes (if the filesystem support it). Next time, du would only compare the directory

Re: du: cache directory size

2008-07-03 Thread Andreas Schwab
Mildred <[EMAIL PROTECTED]> writes: > I was thinking that perhaps caching the size of directories could bu > useful. Perhaps, after du computes the size of a directory, it could > write its size in its extended attributes (if the filesystem support > it). Next time, du would only compare the direc

finger & pinky commands reports improper exit status

2008-07-03 Thread Halesh S
Test 1: -- $ finger finger: 1: no such user. $echo $? 0 Test 2: -- $pinky LoginName TTY Idle When Where $echo $? 0 Verified in coreutils-6.9 Patch to fix the issue in pinky(1) ---old.src/pinky.c 2008-07-03

du: cache directory size

2008-07-03 Thread Mildred
Hi, I noticed that du takes a long time to scan directories and measure disk usage. I was thinking that perhaps caching the size of directories could bu useful. Perhaps, after du computes the size of a directory, it could write its size in its extended attributes (if the filesystem support it). N