typo fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2016-10-26 13:15:35 +02:00
parent a513bf3c3c
commit 4135a75ab0
2 changed files with 4 additions and 4 deletions

View File

@ -11,8 +11,8 @@ a
echo d:$? echo d:$?
# It's debatable what is the correct value above. # It's debatable what is the correct value above.
# Does 'return' in trap sees $? == 2 or $? == 3? # Does 'return' in trap see $? == 2 or $? == 3?
# IOW: after (kill..), does shell first wait for its completion # IOW: after (kill..), does shell first wait for its completion
# and sets $?, then checks pending signals and runs a trap handler, # and sets $?, then checks pending signals and runs a trap handler,
# or does it first checks pending signals and runs handler? # or does it first check pending signals and runs handler?
# hush does the former, and prints 3. # hush does the former, and prints 3.

View File

@ -11,8 +11,8 @@ a
echo d:$? echo d:$?
# It's debatable what is the correct value above. # It's debatable what is the correct value above.
# Does 'return' in trap sees $? == 2 or $? == 3? # Does 'return' in trap see $? == 2 or $? == 3?
# IOW: after (kill..), does shell first wait for its completion # IOW: after (kill..), does shell first wait for its completion
# and sets $?, then checks pending signals and runs a trap handler, # and sets $?, then checks pending signals and runs a trap handler,
# or does it first checks pending signals and runs handler? # or does it first check pending signals and runs handler?
# hush does the former, and prints 3. # hush does the former, and prints 3.