sh-prev-line

sh-prev-line is a compiled Lisp function in `sh-script.el'.

(sh-prev-line &optional END)

Back to end of previous non-comment non-empty line.
Go to beginning of logical line unless END is non-nil, in which case
we go to the end of the previous line and do not check for continuations.