4 ms·
Well, now I'm curious for that CLI. Why do you need an utility to count from 1 to 10?
by gjulianm 14y ago
Well, now I'm curious for that CLI. Why do you need an utility to count from 1 to 10?
- pjungwir 14y agoJust shared this on a different thread[0], but here it is: https://github.com/pjungwir/range https://github.com/pjungwir/range [0] "What is your dumbest project on Github?": https://news.ycombinator.com/item?id=5112546 https://news.ycombinator.com/item?id=5112546
- jsnell 14y agoI use the standard Unix utility "seq" almost daily as part of shell one-liners. Lots of things are named with a sequential component. Sometimes iterating over those is easily done with a shell glob, but sometimes it's just simpler to do "for i in $(seq 1 8); do restart foo-$i; done". It's very useful, but basically impossible to discover except by happening to see somebody else use it. So I really don't wonder that somebody would end up unknowingly reimplementing it.