Senji (senji) wrote,
Senji
senji

  • Mood:

Grrrrrr.

Here at work we have something that on good days I deign to call a database. One of the procedures involving this database involves importing a file listing from a CD.

File listings are produced using ls -l. For those of you reading in black-and-white the output of ls -l on Linux usually looks something like this:
-rw-rw-r--  1 jdamery  jdamery   7322 Dec 21 16:53 alice.txt
-rw-rw-r--  1 jdamery  jdamery  17661 Sep 28  2001 apple.jpg
Now, the database, being a pile of utter shite, expects lines of the former variety, and this has unfortunately become entwined in that bit of the code to the extent that one can't simply modify fix this bug (which is really a bug in the original specification -- using ls -l listings was a stupid idea in the first place).

This hasn't been a problem in my living memory (as maintainer of this code); then in the last three days three different cow-orkers (out of four) have tripped over it.

To complete the set, a few weeks ago steph had a problem which took a plausibe amount of tracking down because his LANG settings were causing ls -l to produce an output more like this:
-rw-rw-r--  1 jdamery  jdamery   7322 2004-12-21 16:53 alice.txt
-rw-rw-r--  1 jdamery  jdamery  17661 2001-09-28 14:37 apple.jpg
Tags: geeky, rant, work
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments