Louis I. answered 06/14/19
Computer Science Instructor/Tutor: Real World and Academia Experienced
Not that I know of ...
I could recommend something that works, but is a bit clumsy - see below.
You would be defining a function that would in turn be used to launch every command in your script:
function launch {
typeset cmd="$1"
shift
$cmd $@ || exit 1
}
launch ls -l A*
launch grep "pattern" A*
launch date