MAN PAGES: TRAP COMMAND
trap signals
The action of trap shall override
The value of “$”.
Setting a trap produces undefined results.
Signals ignored on entry
Cannot be trapped,
although no error need be reported.
Traps shall remain in place
Until explicitly changed
with another trap.
When traps are being ignored,
the traps need not be altered.
check analysis;
using $ may still alter them.
trap each condition.
perform the optional check
immediately.
The format shall be proper,
suitable to achieve
the same trapping results.
conformant systems allow
The trap special.
used only for diagnostic messages.
invalid names or numbers shall not be considered.
None.
trap and kill are consistent
in their omission of names.
Trapping is accepted,
but it has no effect.
trap had to change to become wanted.
triggered whenever mandated,
trap invalidates the behavior of some.
character protects against the trap.
—
Found poem (erasure) from the Linux Man Pages
Complete text at:
https://man7.org/linux/man-pages/man1/trap.1p.html
2 thoughts on "MAN PAGES: TRAP COMMAND"
Leave a Reply
You must be logged in to post a comment.
Interesting! Erasure poems can be so much fun. I want to do one now! 🙂
This has been an interesting series, Katerina.