You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
325 B

#!/usr/bin/env -S -- bash
## CONSTANTS
BASEDIR=$(dirname $0)
## FUNCTIONS
function f2 {
echo f2
return 5
}
## MAIN
. "$BASEDIR/lib/backtrace.bash"
# set -TEue
# trap 'exit $?' ERR TERM INT EXIT
echo START test
for i in $@; do
echo arg: $i
done
echo $nope
# grep toto nope
raise_error 'coucou' 8
f2
echo END test