79650385

Date: 2025-06-02 22:05:42
Score: 1
Natty:
Report link

The only functional part of the accepted answer is creating trapfunc and passing the parameter to it; that alone fixes $_ without doing anything at all with $1.

trapfunc() { date; }
trap 'trapfunc "$_"' DEBUG
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30702423