help-bash
[Top][All Lists]
Advanced

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

Re: Option immediately followed by a number


From: Greg Wooledge
Subject: Re: Option immediately followed by a number
Date: Sun, 19 Mar 2023 15:22:25 -0400

On Sun, Mar 19, 2023 at 07:07:46PM +0000, uzibalqa wrote:
> 
> I want to match a string composed of "-n" immediately followed by a number.  
> Meaning at least one number after "-n".
> 
> For instance "-n8", "-n21", "-n34"

https://mywiki.wooledge.org/BashFAQ/035#getopts



reply via email to

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