I also have a coding style nit-pick - please use [ -n "..." ] rather than [ "..." != "" ]
Ben. -- Ben Hutchings It is easier to change the specification to fit the program than vice versa.
signature.asc
Description: This is a digitally signed message part