How to get currently executed line number in POSIX shell script? For example I have a script:
#!/bin/sh set -eu echo "A" echo "B" echo