Add four varying examples found in the wild of problematic code

wileyhy
2023-06-29 07:53:48 -07:00
parent fec6fe251f
commit adb79ae332

@@ -4,6 +4,10 @@
```sh
trap "echo \"Finished on $(date)\"" EXIT
trap "rm -fr '$testdir1' '$testdir2'" $TRAP_SIGNALS
trap "rm $tmp" $TRAP_SIGNALS
trap "${remove_aar_temp}" SIGKILL SIGTERM SIGQUIT EXIT
trap "$(shopt -p extglob)" RETURN
```
### Correct code: