strange behavior with fread, fseek

2006-01-26 Thread Joe Maimon
Strange to me that is. Why am I asking here? Perhaps I should make a fool of myself to the kernel or glibc people? Well I know geniuses hang out here. Plus coreutils must have dealt with issues like this if it is indeed normal. $ ls -la fread-fseek.c -rw-r--r-- 1 joe joe 1155 Jan 26 13:37

Re: I would like to add a feature to the cut command, I think

2004-04-02 Thread Joe Maimon
Jeff Silverman wrote: I am trying to parse whitespace delimited files, and it seems intuitively obvious to me that I ought to be able to do it with the cut command. Cut works fine with /etc/mtab, where the fields really and truly are delimited by a single space character. But for files suc

Re: [PATCH] [cut] Treat consecutive delimiters as one in cut binary

2004-03-14 Thread Joe Maimon
I want to say thank you to Jim and Bob who have responded kindly to me with informative information. ___ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils

Re: [PATCH] [cut] Treat consecutive delimiters as one in cut binary

2004-03-12 Thread Joe Maimon
Jim Meyering wrote: Joe Maimon <[EMAIL PROTECTED]> wrote: When using the -d option I find it frustrating that arbitrary whitespace ruins the field count. witness this script: dig -x $addr +noall +answer | grep -v '^;' | grep -v '$^' | expand | cut -d' '

[PATCH] [cut] Treat consecutive delimiters as one in cut binary

2004-03-11 Thread Joe Maimon
When using the -d option I find it frustrating that arbitrary whitespace ruins the field count. witness this script (new option -z)(one line): dig -x $addr +noall +answer | grep -v '^;' | grep -v '$^' | expand | cut -d' ' -f5 -z With the new option in this patch, you can rely on the behavior to pr

[PATCH] [cut] Treat consecutive delimiters as one in cut binary

2004-03-10 Thread Joe Maimon
When using the -d option I find it frustrating that arbitrary whitespace ruins the field count. witness this script: dig -x $addr +noall +answer | grep -v '^;' | grep -v '$^' | expand | cut -d' ' -f5 -z With the new option in this patch, you can rely on the behavior to produce a hostname if there