2011-04-20

Weird locales

Sometimes I wonder who comes up with installations like these:
> locale -a
C
POSIX
de_LU.UTF-8
en_GB
en_GB.ISO8859-1
en_GB.ISO8859-15
en_GB.ISO8859-15@euro
en_GB.UTF-8
en_IE
en_IE.ISO8859-1
en_IE.ISO8859-15
en_IE.ISO8859-15@euro
en_IE.UTF-8
fr.ISO8859-15
fr.UTF-8
fr_BE
fr_BE.ISO8859-1
fr_BE.ISO8859-15
fr_BE.ISO8859-15@euro
fr_BE.UTF-8
fr_BE.UTF-8@euro
fr_FR.ISO8859-15
fr_FR.ISO8859-15@euro
fr_FR.UTF-8
fr_FR.UTF-8@euro
fr_LU.UTF-8
iso_8859_1
nl
nl.ISO8859-15
nl_BE
nl_BE.ISO8859-1
nl_BE.ISO8859-15
nl_BE.ISO8859-15@euro
nl_BE.UTF-8
nl_NL
nl_NL.ISO8859-1
nl_NL.ISO8859-15
nl_NL.ISO8859-15@euro
nl_NL.UTF-8
Well, at least they have the french French. IMHO It should be taken out for consistency. :-)

My DWTF

Just found myself writing the following in a Doku-Wiki page:

[..]<html><br></html>[..]
Really horrible stuff, but I see no alternative (beside upgrading/installing new Wiki).

2011-04-01

Shot yourself in the foot with carriage return.

Just today somebody had a problem with a file that he "could not cat",
but less worked. The reason was that the file had only a carriage
return at the end of the only line.

Here's an example how to reproduce:
> echo -en "bla\r" > bla2
> cat bla2
> od -c bla2
0000000 b l a \r
0000004