mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 14:55:24 +02:00
}, ], ]], then, elif, else, fi, in, do, done, esac: add page (#16045)
* Create then.md * Create else.md * Create elif.md * Create fi.md * Create esac.md * Create do.md * Create in.md * Create done.md * Create }.md * Create ].md * Create ]].md * test * Update [.md * Update then.md * Update do.md * Update else.md * Update wrong-filename.sh --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
6feffd1b14
commit
453a76bfed
11 changed files with 101 additions and 0 deletions
7
pages/common/].md
Normal file
7
pages/common/].md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# ]
|
||||
|
||||
> This shell keyword is used to close out `[`.
|
||||
|
||||
- View documentation for the `[` keyword:
|
||||
|
||||
`tldr [`
|
7
pages/common/]].md
Normal file
7
pages/common/]].md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# ]]
|
||||
|
||||
> This shell keyword is used to close out `[[`.
|
||||
|
||||
- View documentation for the `[[` keyword:
|
||||
|
||||
`tldr [[`
|
19
pages/common/do.md
Normal file
19
pages/common/do.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# do
|
||||
|
||||
> This shell keyword is used with `for`, `while`, `select`, and `until` to mark the start of a loop.
|
||||
|
||||
- View documentation for the `for` keyword:
|
||||
|
||||
`tldr for`
|
||||
|
||||
- View documentation for the `while` keyword:
|
||||
|
||||
`tldr while`
|
||||
|
||||
- View documentation for the `select` keyword:
|
||||
|
||||
`tldr select`
|
||||
|
||||
- View documentation for the `until` keyword:
|
||||
|
||||
`tldr until`
|
19
pages/common/done.md
Normal file
19
pages/common/done.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# done
|
||||
|
||||
> This shell keyword is used with `for`, `while`, `select`, and `until` to mark the end of a loop.
|
||||
|
||||
- View documentation for the `for` keyword:
|
||||
|
||||
`tldr for`
|
||||
|
||||
- View documentation for the `while` keyword:
|
||||
|
||||
`tldr while`
|
||||
|
||||
- View documentation for the `select` keyword:
|
||||
|
||||
`tldr select`
|
||||
|
||||
- View documentation for the `until` keyword:
|
||||
|
||||
`tldr until`
|
7
pages/common/elif.md
Normal file
7
pages/common/elif.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# elif
|
||||
|
||||
> This shell keyword is used in combination with `if` and `else` to define a code branch.
|
||||
|
||||
- View documentation for `if` command:
|
||||
|
||||
`tldr if`
|
7
pages/common/else.md
Normal file
7
pages/common/else.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# else
|
||||
|
||||
> This shell keyword is used in combination with `if` and `elif` to define a code branch if no other branch was valid.
|
||||
|
||||
- View documentation for the `if` keyword:
|
||||
|
||||
`tldr if`
|
7
pages/common/esac.md
Normal file
7
pages/common/esac.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# esac
|
||||
|
||||
> This shell keyword is used to end a `case` statement.
|
||||
|
||||
- View documentation for the `case` keyword:
|
||||
|
||||
`tldr case`
|
7
pages/common/fi.md
Normal file
7
pages/common/fi.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# fi
|
||||
|
||||
> This shell keyword is used to end an `if` statement.
|
||||
|
||||
- View documentation for the `if` keyword:
|
||||
|
||||
`tldr if`
|
7
pages/common/in.md
Normal file
7
pages/common/in.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# in
|
||||
|
||||
> This shell keyword is used with `for` to separate the iterator and items to iterate.
|
||||
|
||||
- View documentation for the `for` keyword:
|
||||
|
||||
`tldr for`
|
7
pages/common/then.md
Normal file
7
pages/common/then.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# then
|
||||
|
||||
> This shell keyword is used in combination with `if` and `elif` to separate branches and branch conditions.
|
||||
|
||||
- View documentation for `if` command:
|
||||
|
||||
`tldr if`
|
7
pages/common/}.md
Normal file
7
pages/common/}.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# }
|
||||
|
||||
> This shell keyword is used to close out `{`.
|
||||
|
||||
- View documentation for the `{` keyword:
|
||||
|
||||
`tldr {`
|
Loading…
Add table
Reference in a new issue