(defcustom sh-other-keywords
'((bash eval sh-append bourne
- "bye" "logout")
+ "bye" "logout" "select")
;; The next entry is only used for defining the others
(bourne eval sh-append sh
( "pattern, %s: "
> str sh-non-closing-paren \n
> _ \n
- ";;" \n)
+ ";;" \n \n)
> "*" sh-non-closing-paren \n
> _ \n
resume:
> _ \n
( "other condition, %s: "
> "elif " str "; then" > \n
- > \n)
+ > \n \n)
"else" > \n
> \n
resume:
(ksh88 eval sh-modify sh
16 "print"
18 "${0##*/}"
- 36 "OPTIND-1")
+ 37 "OPTIND-1")
(posix eval sh-modify sh
18 "$(basename $0)")
(sh "optstring: "
v2 nil)))
> str "|+" str sh-non-closing-paren \n
> _ v2 \n
- > ";;" \n)
+ > ";;" \n \n)
> "*" sh-non-closing-paren \n
> "echo" " \"usage: " "`basename $0`"
" [+-" '(setq v1 (point)) str