help-bash
[Top][All Lists]
Advanced

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

Re: case statement with non-consecutive numbers


From: Dennis Williamson
Subject: Re: case statement with non-consecutive numbers
Date: Thu, 15 Apr 2021 15:57:42 -0500

On Thu, Apr 15, 2021, 3:30 PM Greg Wooledge <greg@wooledge.org> wrote:

for ((i=1; i <= 1000; i++)); do


>
You can also use complex range specifications in the conditional.

for ((i=1; i <= 1000 || (i > 2000 && i <= 3000); i++)); do

>


reply via email to

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