Paul Jarc wrote:
Linda Walsh <[EMAIL PROTECTED]> wrote:
p="-e -p 60 -x"
---
That's why I wanted the capture -- to pick out the 60 -- where 60 represents
a positive integer.  The space between the -p and the number is optional.

It sounds like you're looking for getopt.
---
        I knew about getopt -- was just wanting a string-manipulation
mechanism to do it, but am maybe getting too used to string
manipulations in perl?  Would still love to use perl's full RE's
in bash expressions, such is life...  (am not sure I want it enough
to try implementing/merging them...:-))
Linda


Reply via email to