Re:Techniques I Use to Create a Great User Experience for Sh...
by delusional on Saturday September 14, 2024 @07:12AM
(#41539007)
Even worse, it mimics it poorly, hardcoding the PS4 to the default.
The author could also consider trapping debug to maybe be selective while also making it a little more automatic.
I get and love the idea but I'd consider this implementation an anti-pattern. If the output mimics set -x but isn't doing what that is doing, it can mislead users of the script.