Re: How does stdbuf work?

2010-01-15 Thread Pádraig Brady
On 14/01/10 21:12, Yang Zhang wrote: Just out of curiosity: libstdubf.c defines fileno_to_name, apply_mode, and stdbuf for LD_PRELOAD-ing, but AFAICT these aren't defined in glibc; where are they called from? Notice the __attribute__ ((constructor)) on libstdbuf::stdbuf(). That means that funct

Re: Misalignment of pinky output: lack of support of multibyte char

2010-01-15 Thread Jim Meyering
Rodolfo Ribeiro Gomes wrote: > Hello. I was translating coreutils 8.3 and testing it when I saw that > the pinky output was not fine: > $ pinky > Usuário Nome TTY Ocioso Quando Onde > rodolfo Rodolfo Ribeiro Gom tty7 03:07 2010-01-14 18:03 :0 > > So I tried to

Re: Misalignment of pinky output: lack of support of multibyte char

2010-01-15 Thread Pádraig Brady
On 15/01/10 11:28, Jim Meyering wrote: Rodolfo Ribeiro Gomes wrote: Hello. I was translating coreutils 8.3 and testing it when I saw that the pinky output was not fine: $ pinky Usuário Nome TTY Ocioso Quando Onde rodolfo Rodolfo Ribeiro Gom tty7 03:07 2010-0

Re: Bug in expr***urgent

2010-01-15 Thread salih k
Hi, 1.Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 2.ksh 3.expr version:5.97 Also, 1. the exit status coming is 1552 and in some cases 51198.Also In my case,the $int_num will have only positive integers. So instead of checking exit status not equal to zero for alphanumeric cha

Re: Bug in expr***urgent

2010-01-15 Thread Eric Blake
[your repeated attempts at top-posting when you have been advised not to do so are getting annoying] According to salih k on 1/15/2010 10:17 PM: > Hi, > > 1.Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 > 2.ksh > 3.expr version:5.97 Consider upgrading - the latest stable versio