Re: tee: write error

2007-09-18 Thread Saurabh Gupta
Hi Bob, Thanks for responding. Output of the commands: tee --version | head -n1 tee (coreutils) 4.5.3 ldd --version | head -n1 ldd (GNU libc) 2.3.2 I am not seeing any error messages in /var/log/messages other files. Just for your information, this error only comes when my application runs

Bug or change?

2007-09-18 Thread Fredrik Andreasson
Hi, maybe this it a bug? Here i have a file, with two columns with diffrent values, now i want to use sort them with columns, and with number. See the file how it looks like. [EMAIL PROTECTED] ~]$ cat file 1 2 1 2 3 5 3 5 3 5 3 5 3 5 2 3 2 3 2 3 2 3 2 3 2 3 4 5 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0

Re: tee: write error

2007-09-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Saurabh Gupta on 9/18/2007 12:01 AM: Hi Bob, Thanks for responding. Output of the commands: tee --version | head -n1 tee (coreutils) 4.5.3 This version is very old. There may be relevant bug fixes in the meantime, that would

Re: Bug or change?

2007-09-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Fredrik Andreasson on 9/18/2007 1:43 AM: Hi, maybe this it a bug? Not a bug, but a difference in POSIX compliance. [EMAIL PROTECTED] ~]$ sort --version sort (GNU coreutils) 5.97 Even this version is somewhat old - the latest stable

strange date

2007-09-18 Thread Bruno
The date program (or something related to date setting) is doing some strange stuff. When I log as root, date gets the wright date and shows it to me. When I log as a user (any user that is not root), it shows the date plus three hours. The strange thing is that the system date is correct, but

Re: strange date

2007-09-18 Thread Bob Proulx
Bruno wrote: When I log as root, date gets the wright date and shows it to me. When I log as a user (any user that is not root), it shows the date plus three hours. The strange thing is that the system date is correct, but is shows wrong date to regular users and correct date to root (and

Re: tee: write error

2007-09-18 Thread Bob Proulx
Saurabh Gupta wrote: tee (coreutils) 4.5.3 As Eric said that is a very old version. But 'tee' itself I would not expect to be sensitive to version and even very old versions should work. The 'tee' program is not a very complicated program. I am not seeing any error messages in

Re: strange date

2007-09-18 Thread Bob Proulx
Bruno wrote: Did not work. I tried the commands (echo $TZ, env -i date -R) as regular user and then as root. Bellow, the results ( precedes all comands just to show the prompt lines. When things behave differently between root and non-root and the environment is the same then I would suspect

find a document bug for expr

2007-09-18 Thread hanpingtian
hi, I think I have found a document bug for expr: in the info page of String expressions, it says `expr' supports pattern matching and other string operators. These have *lower* precedence than both the numeric and ...,. But I think the string expressions have *higher* precedence than numeric

Re: strange date

2007-09-18 Thread Bruno
Ok. Everything was working perfectly until I adjusted the time in the KDE environment icon (it was a few minutes wrong). I did not change any environment variable, or file permissions. Maybe the program changed the permissions, but then is another type of problem (maybe stranger :o). I was also

Re: strange date

2007-09-18 Thread Bob Proulx
Bruno wrote: Ok. Everything was working perfectly until I adjusted the time in the KDE environment icon (it was a few minutes wrong). I did not change any environment variable, or file permissions. Maybe the program changed the permissions, but then is another type of problem (maybe stranger