Files
bash/tests/errors9.sub
2022-09-26 11:49:46 -04:00

15 lines
212 B
Plaintext

trap 'echo DEBUG' DEBUG
# make sure that the right command name appears in the error messages and
# that the DEBUG trap doesn't overwrite it
[[ ++ -gt 3 ]]
(( -- ))
for (( -- ; ++; -- ))
do
echo bogus
done