1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

Shell: Update manpage about for loop behaviour around signals

This commit is contained in:
AnotherTest 2020-08-18 01:52:17 +04:30 committed by Andreas Kling
parent 4ee4c94d60
commit 32bfb48577

View file

@ -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