Make minify script free from bash

Make minify script free from bash specific codes.  With this change, minify script run with /bin/sh (really it is ash) and /bin/ksh (public domain Korn shell) on NetBSD as well as bash.