Re: 822-date obsolete?
On Jan 10, Marco d'Itri wrote:
> On Jan 09, "Karl B. Hammar" <karl@kalle.csb.ki.se> wrote:
> >You can't simply substitute 822-date with date -R, since date cares about
> >your LANG variable.
> This is a bug in /bin/date: RFC 822 compliant dates must not use
> translated names.
How about the following replacement for /usr/bin/822-date:
#!/bin/sh
LANG=C /bin/date --rfc
Either that or fixing the bug in /bin/date would work...
Chris
--
=============================================================================
| Chris Lawrence | My home page: |
| <quango@watervalley.net> | http://www.clark.net/pub/lawrencc/ |
| | |
| Grad Student, Pol. Sci. | Visit the Amiga Web Directory |
| University of Mississippi | http://www.cucug.org/amiga.html |
=============================================================================
Reply to: