[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17423: bug with 'tee' command
From: |
Pawel Jagla |
Subject: |
bug#17423: bug with 'tee' command |
Date: |
Tue, 6 May 2014 12:15:57 +0200 |
Hello
I discovered a bug with 'tee' command when I sort items in file, and try to
overwrite output to the same file, like that :
sort filename |tee filename
Sometimes it sorts and overwrites file with sorted items, and sometimes it
clears the file completely (so the file is empty).
Of course I know that I can do that by adding operator '-o' to sort.
BTW I am working under RedHat 6 Enterprise, and bash shell.
Kind Regards
Pawel Jagla
- bug#17423: bug with 'tee' command,
Pawel Jagla <=