diff --git a/SC2129.md b/SC2129.md index 83b2b2d..7f55801 100644 --- a/SC2129.md +++ b/SC2129.md @@ -27,6 +27,8 @@ Rather than adding `>> something` after every single line, you can simply group This is mainly a stylistic issue, and can freely be ignored. +Note: shell traps which would ordinarily emit output to stdout or stderr on catching their condition will have output swallowed into the redirect when the trap is triggered from within the grouping. + ### Related resources: * [BashFaq: How can I redirect the output of multiple commands at once?](https://mywiki.wooledge.org/BashFAQ/014) \ No newline at end of file