given function error in bash, what is the meaning of this line:
trap 'error ${LINENO}' ERR after the error function ?
When is this function (error) called ? and what is the meaning of ERR flag in this case?
given function error in bash, what is the meaning of this line:
trap 'error ${LINENO}' ERR after the error function ?
When is this function (error) called ? and what is the meaning of ERR flag in this case?