rrconkle@lemmy.ziptoRust@programming.dev•GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human-readable representationEnglish
4·
5 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
Looks like it was 1983 https://en.wikipedia.org/wiki/Mister_Rogers'_Neighborhood_season_13#Episode_9_(Games)