mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 11:57:08 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Skip to the next iteration:
|
||||
|
||||
`while :; do continue; echo "This will never be reached"; done`
|
||||
`while :; do continue; {{echo "This will never be reached"}}; done`
|
||||
|
||||
- Skip to the next iteration from within a nested loop:
|
||||
|
||||
`for i in {1..3}; do while :; do continue 2; done; done`
|
||||
`for i in {{{1..3}}}; do {{echo $i}}; while :; do continue 2; done; done`
|
||||
|
||||
Reference in New Issue
Block a user