mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
Base: Remove irrelevant example from Shell's loop
manpage section
Seems like it was copied one too many times.
This commit is contained in:
parent
ffd74a2c5a
commit
10c3168fa0
Notes:
sideshowbarker
2024-07-18 23:07:46 +09:00
Author: https://github.com/alimpfard
Commit: 10c3168fa0
Pull-request: https://github.com/SerenityOS/serenity/pull/4994
Reviewed-by: https://github.com/ADKaster
1 changed files with 0 additions and 9 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue