Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The brace expansion syntax in Bash and Zsh expands integer ranges: {1..6}; no calling out to external command.

It's also intelligent about inferring leading zeros without needing to be told with options, e.g. {001..995}.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: