@simon if you trap on the pseudo signal EXIT it will kick in on other exit modes too :)
Top-level
7 comments
@coderanger @simon I was gonna quip that Bash is a prime example where ChatGPT is a bad choice because 99% of Bash scripts out there are dangerous, hot garbage. |
@coderanger Ooh what does that look like in code?