Skip to content

Commit

Permalink
Add multi range brace expansion to bash.md (#2071)
Browse files Browse the repository at this point in the history
  • Loading branch information
Iftakharpy authored Dec 13, 2023
1 parent 1dbdb9c commit 862e1aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ echo {A,B}.js
| `{A,B}` | Same as `A B` |
| `{A,B}.js` | Same as `A.js B.js` |
| `{1..5}` | Same as `1 2 3 4 5` |
| `{{1..3},{5..7},{15..20}}` | Same as `1 2 3 5 6 7 15 16 17 18 19 20` |

See: [Brace expansion](https://web.archive.org/web/20230207192110/https://wiki.bash-hackers.org/syntax/expansion/brace)

Expand Down

0 comments on commit 862e1aa

Please sign in to comment.