cols command for columnar output

2005-08-02 Thread Stephen Jungels
Because I needed nice columnar output similar to the ls command's simple file list, I went in and ripped out the columnar logic from GNU ls and created a nice simple cols command. It does one thing only and does it well, like a good UNIX command should. (pr isn't good enough because it requires

Using the command `date +%r` returns incorrect format

2005-08-02 Thread Martin Freebody
BUG: Using the command `date +%r` returns incorrect format Version: 3.3.0 (using KDE 3.3.0, SuSE) Compiler: gcc version 3.3.4 (pre 3.3.5 20040809) OS: Linux (i686) release 2.6.8-24-smp Using the command `date +%r` should give me for example 2:39:00 PM but on

Re: Using the command `date +%r` returns incorrect format

2005-08-02 Thread Andreas Schwab
Martin Freebody [EMAIL PROTECTED] writes: Using the command `date +%r` should give me for example 2:39:00 PM but on my machine it returns 02:39:00. You are apparently using a locale that does not have a notion of an AM/PM indicator. $ LC_ALL=C date +%r 03:24:58 PM $ LC_ALL=de_DE.utf8 date

Re: Using the command `date +%r` returns incorrect format

2005-08-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Martin Freebody on 8/2/2005 2:31 AM: BUG: Using the command `date +%r` returns incorrect format Version: 3.3.0 (using KDE 3.3.0, SuSE) Compiler: gcc version 3.3.4 (pre 3.3.5 20040809) OS: Linux