diff --git a/pages/common/].md b/pages/common/].md new file mode 100644 index 0000000000..3b120d0148 --- /dev/null +++ b/pages/common/].md @@ -0,0 +1,7 @@ +# ] + +> This shell keyword is used to close out `[`. + +- View documentation for the `[` keyword: + +`tldr [` diff --git a/pages/common/]].md b/pages/common/]].md new file mode 100644 index 0000000000..5a8af3bd2b --- /dev/null +++ b/pages/common/]].md @@ -0,0 +1,7 @@ +# ]] + +> This shell keyword is used to close out `[[`. + +- View documentation for the `[[` keyword: + +`tldr [[` diff --git a/pages/common/do.md b/pages/common/do.md new file mode 100644 index 0000000000..8e8a536792 --- /dev/null +++ b/pages/common/do.md @@ -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` diff --git a/pages/common/done.md b/pages/common/done.md new file mode 100644 index 0000000000..278030e900 --- /dev/null +++ b/pages/common/done.md @@ -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` diff --git a/pages/common/elif.md b/pages/common/elif.md new file mode 100644 index 0000000000..f5b85ff251 --- /dev/null +++ b/pages/common/elif.md @@ -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` diff --git a/pages/common/else.md b/pages/common/else.md new file mode 100644 index 0000000000..532948f26d --- /dev/null +++ b/pages/common/else.md @@ -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` diff --git a/pages/common/esac.md b/pages/common/esac.md new file mode 100644 index 0000000000..f542c8567d --- /dev/null +++ b/pages/common/esac.md @@ -0,0 +1,7 @@ +# esac + +> This shell keyword is used to end a `case` statement. + +- View documentation for the `case` keyword: + +`tldr case` diff --git a/pages/common/fi.md b/pages/common/fi.md new file mode 100644 index 0000000000..b99d98c444 --- /dev/null +++ b/pages/common/fi.md @@ -0,0 +1,7 @@ +# fi + +> This shell keyword is used to end an `if` statement. + +- View documentation for the `if` keyword: + +`tldr if` diff --git a/pages/common/in.md b/pages/common/in.md new file mode 100644 index 0000000000..3f450bbe29 --- /dev/null +++ b/pages/common/in.md @@ -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` diff --git a/pages/common/then.md b/pages/common/then.md new file mode 100644 index 0000000000..db20dd1148 --- /dev/null +++ b/pages/common/then.md @@ -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` diff --git a/pages/common/}.md b/pages/common/}.md new file mode 100644 index 0000000000..2f187be505 --- /dev/null +++ b/pages/common/}.md @@ -0,0 +1,7 @@ +# } + +> This shell keyword is used to close out `{`. + +- View documentation for the `{` keyword: + +`tldr {`