[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 16:33:28 -0500 |
On Thu, Apr 15, 2021, 4:28 PM <pauline-galea@gmx.com> wrote:
> Have also thought about the possibilities provided by
>
> for fi in 0 1 2 3 5 8 13 21; do
>
> Can ranges be handled with such construct?
>
In this specific example the first four values can be replaced by {0..3}
for fi in {0..3} 5 8 13 21; do
- Re: case statement with non-consecutive numbers, (continued)
- Re: case statement with non-consecutive numbers, Greg Wooledge, 2021/04/15
- Re: case statement with non-consecutive numbers, pauline-galea, 2021/04/15
- Re: case statement with non-consecutive numbers, Greg Wooledge, 2021/04/15
- Re: case statement with non-consecutive numbers, Greg Wooledge, 2021/04/15
- Re: case statement with non-consecutive numbers, Dennis Williamson, 2021/04/15
- Re: case statement with non-consecutive numbers, Greg Wooledge, 2021/04/15
- Re: case statement with non-consecutive numbers, Dennis Williamson, 2021/04/15
- Re: case statement with non-consecutive numbers, pauline-galea, 2021/04/15
- Re: case statement with non-consecutive numbers, Dennis Williamson, 2021/04/15
- Re: case statement with non-consecutive numbers, pauline-galea, 2021/04/15
- Re: case statement with non-consecutive numbers,
Dennis Williamson <=
- Re: case statement with non-consecutive numbers, Eli Schwartz, 2021/04/15
- Re: case statement with non-consecutive numbers, Dennis Williamson, 2021/04/15
- Re: case statement with non-consecutive numbers, Eli Schwartz, 2021/04/15
- Re: case statement with non-consecutive numbers, Dennis Williamson, 2021/04/15
- Re: case statement with non-consecutive numbers, Eli Schwartz, 2021/04/15
- Re: case statement with non-consecutive numbers, Christopher Dimech, 2021/04/15
- Re: case statement with non-consecutive numbers, Eli Schwartz, 2021/04/15
- Re: case statement with non-consecutive numbers, Chet Ramey, 2021/04/15
Re: case statement with non-consecutive numbers, Reuti, 2021/04/15