Steve Haslam (araqnid) wrote,
Steve Haslam
araqnid

  • Mood:
Today I have celebrated Sysadmin Day by being nice to our sysadmin while showing him how to write shell scripts sanely.

Sanely, for instace, does not include writing things like:

bar${if}=0

to write variables bar0, bar1 etc.

And let's not go into the crap you have to go through to dereference those values in future. Just add the interfaces that aren't up to a string list, and check the string for having non-zero length. Much easier-- find a shellacious way of doing it :)

Anyway, after that highlight, now time to return to being bored on Friday afternoon....
Subscribe

  • Reading Half-Marathon 2009

    Reading Half-Marathon 2009 Total 02:03:39 Position = 7626 out of ~17,000? The day didn't get off to too good a start: 6am on…

  • Getting back into training

    I guess it won't come as a surprise to those who know me that I've resolved to try and get fitter during the coming year. Which I've pretty much…

  • everyone's having a go...

    I see Mesh have a "God Rest Ye Merry Gentlemen" ditty on their Myspace page... Heading up to the parental home soon. Disorganised, as is…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

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