Re: uniq i18n implementation

2006-08-14 Thread Pádraig Brady
Pádraig Brady wrote: > Paul Eggert wrote: > >Using strcoll is inefficient anyway Don't we know it! If we can avoid it, we'd like to. >>> >>>Well, the mbstowcs+wcscoll solution I presented >>>should be equivalent to strcoll on any platform, >>>and it's much faster in my tests. >> >> >

exiting tail

2006-08-14 Thread Neil Adair
Why isn't the command to exit tail in the man page? ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

md5sum fails on DOS formatted files

2006-08-14 Thread walton
Problem: The check with md5sum failed (No such file or directory/FAILED open or read) if the text file with the checksum included DOS(PC) formatted. I am new to LINUX and I use md5sum version 5.94 with the knoppix live cd. I don't know if this is a real bug, but I think that this program should c

Re: exiting tail

2006-08-14 Thread Pádraig Brady
Neil Adair wrote: > Why isn't the command to exit tail in the man page? tail is not an interactive program and so will not parse commands you enter. It is known as a filter and just reads stdin and writes to stdout. So if you just type `tail`, it will block reading from stdin which will be connec

Re: exiting tail

2006-08-14 Thread Paul Eggert
Pádraig Brady <[EMAIL PROTECTED]> writes: > if (isatty(stdin) && isatty(sterr)) { > fprintf(stderr,"Hit Ctrl-d to end\n"); > } > > Can anyone think of non human interactions > between tail and terminals where the above > wouldn't be appropriate? Sure: "tail -f /dev/tty". Let's not make this

Re: exiting tail

2006-08-14 Thread Neil Adair
Thanks for the response but I left out the -f ie. there is no documentation of how to exit tail -f I now know it's ctrl c Neil Pádraig Brady wrote: Neil Adair wrote: Why isn't the command to exit tail in the man page? tail is not an interactive program and so will not parse com

Re: uniq i18n implementation

2006-08-14 Thread Paul Eggert
Pádraig Brady <[EMAIL PROTECTED]> writes: > There seems to be serious overhead with strcoll on glibc-2.3.5-10 at least. We can fix the performance problem for that particular test case as follows. I installed this (diff -pubw format): 2006-08-14 Paul Eggert <[EMAIL PROTECTED]> * memc

Re: uniq i18n implementation

2006-08-14 Thread Pádraig Brady
Paul Eggert wrote: > Pádraig Brady <[EMAIL PROTECTED]> writes: > > >>There seems to be serious overhead with strcoll on glibc-2.3.5-10 at least. > > > We can fix the performance problem for that particular test case as > follows. I installed this (diff -pubw format): > > 2006-08-14 Paul Egge