79710106

Date: 2025-07-22 07:57:56
Score: 1.5
Natty:
Report link

I just went with:

trap 'echo "${BASH_SOURCE[0]##*/}: exit status: $?"' EXIT

But the problem is more generic, obviously.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Albert Camu