rrconkle@lemmy.ziptoRust@programming.dev•GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human-readable representationEnglish
8·
2 months agoBash can do discontinuous ranges
$ echo {{1..3},{7..8}}
1 2 3 7 8
Bash can do discontinuous ranges
$ echo {{1..3},{7..8}}
1 2 3 7 8
There's uYouPlusExtra and YouTubeRebornPlus. I've never tried either though, so I don't know how good they are.
Yes, just give the step as the third number:
{1..10..2}