Variable: sh-end-of-command

sh-end-of-command is a customizable variable defined in sh-script.el.gz.

Value

"\\([/~[:alnum:]:]\\)[  ]*\\([;#)}`|&]\\|$\\)"

Documentation

Regexp to determine the end of a shell command.

The actual command ends at the end of the first \(grouping\).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defcustom sh-end-of-command
  "\\([/~[:alnum:]:]\\)[ \t]*\\([;#)}`|&]\\|$\\)"
  "Regexp to determine the end of a shell command.
The actual command ends at the end of the first \\(grouping\\)."
  :type 'regexp
  :group 'sh-script)