Doesn't the availability of '#s' (i.e. '#s'/boot) break this (unless you are in group noworld)? What's wrong with words=(`{echo $line}) and then switch($words(1))?