diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2021-01-17 22:52:39 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-18 08:56:34 +0100 |
commit | 10c3168fa03a727283b0e795ed307cacc2e00e21 (patch) | |
tree | e341cf97a5edd8207a46e2b542470381bf451d51 | |
parent | ffd74a2c5ac489c1b459889746fea046d74d485f (diff) | |
download | serenity-10c3168fa03a727283b0e795ed307cacc2e00e21.zip |
Base: Remove irrelevant example from Shell's `loop` manpage section
Seems like it was copied one too many times.
-rw-r--r-- | Base/usr/share/man/man5/Shell.md | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Base/usr/share/man/man5/Shell.md b/Base/usr/share/man/man5/Shell.md index 61aa8a4a82..bdc8618e90 100644 --- a/Base/usr/share/man/man5/Shell.md +++ b/Base/usr/share/man/man5/Shell.md @@ -239,15 +239,6 @@ loop { } ``` -###### Examples -```sh -# Iterate over every non-hidden file in the current directory, and prepend '1-' to its name. -$ for * { mv $it 1-$it } - -# Iterate over a sequence and write each element to a file -$ for i in $(seq 1 100) { echo $i >> foo } -``` - ##### Subshells Subshells evaluate a given block in a new instance (fork) of the current shell process. to create a subshell, any valid shell code can be enclosed in braces. |