i've been writing a series of more complicated shell scripts lately and i've found myself looking for ways to pass options to it in a fashion like so:
# scriptname -o -p -t -i -o -n or this: # scriptname --someoption=stuff instead, all i've been able to find is a series of arguments: # scriptname arg1 arg2 ... which is nice, but a pain since arg3 requires that arg1 and arg2 are alreay present. my preferred languages are perl and bash, but i'm not even sure how to google for this. any help? -- there's no place for the state in the bedrooms of the nation - pierre elliot Trudeau -- gentoo-user@gentoo.org mailing list