mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 22:12:20 +00:00
Shell: Update manpage about for loop behaviour around signals
This commit is contained in:
parent
4ee4c94d60
commit
32bfb48577
Notes:
sideshowbarker
2024-07-19 03:27:11 +09:00
Author: https://github.com/alimpfard
Commit: 32bfb48577
Pull-request: https://github.com/SerenityOS/serenity/pull/3199
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ The general syntax follows the form `for name in expr { sequence }`, and allows
|
|||
|
||||
A for-loop evaluates the _sequence_ once per every element in the _expr_, seetting the local variable _name_ to the element being processed.
|
||||
|
||||
The Shell shall cancel the for loop if two consecutive commands are interrupted via any of SIGINT (\^C), SIGQUIT (\^\\) or SIGKILL.
|
||||
The Shell shall cancel the for loop if two consecutive commands are interrupted via SIGINT (\^C), and any other terminating signal aborts the loop entirely.
|
||||
|
||||
#### Examples
|
||||
```sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue