Function: sh-end-of-command

Move point to successive ends of commands.

Variable: sh-end-of-command

Regexp to determine the end of a shell command.
The actual command ends at the end of the first \(grouping\).