bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: capturing sub-expressions?


From: Paul Jarc
Subject: Re: capturing sub-expressions?
Date: Tue, 29 Jan 2008 21:05:09 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Linda Walsh <bash@tlinx.org> 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.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]