removed unused code
More portable use of "which". random_sig.rb now outputs newline.