rrconkle@lemmy.ziptoRust@programming.dev•GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human-readable representationEnglish
1·
2 months agoYes, just give the step as the third number: {1..10..2}
Yes, just give the step as the third number: {1..10..2}
Bash can do discontinuous ranges
$ echo {{1..3},{7..8}}
1 2 3 7 8
https://forgejo.org/static/forgejo.mp4