?

Log in

No account? Create an account

Previous Entry | Next Entry

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....

Profile

araqnid
Steve Haslam

Latest Month

March 2009
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    
Powered by LiveJournal.com
Designed by Tiffany Chow