in reply to Re: Before getopts...
in thread Before getopts...

This one requires a bash-like shell, that allows quoted strings to continue across line endings. Here's a one-liner version: perl -le 'print sort grep $$_ eq 1, keys %main::' -s -- -' Just' -' another ' -'Perl ' -'hacker, '