]> git.tuebingen.mpg.de Git - gsu.git/commit
subcommand: Use POSIX compatible command regex.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 5 Mar 2017 18:55:13 +0000 (19:55 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 15 Apr 2017 15:45:21 +0000 (17:45 +0200)
commit692f2f3c9dfd6a1d6692e6f131e4e40c02f7f1bc
tree74a7c854cb1aa4a16de4ea9cf2de19e629d0d325
parent10bc168fc71c52c1767151e138a6b1031b837ea8
subcommand: Use POSIX compatible command regex.

The POSIX way to ask for one or more matches of the preceeding atom
is {1,} while the plus character is a non-portable shortcut.

Note that since the closing brace of the regex bound is inside
parameter expansion, we need to escape it with a backslash while the
opening brace must not be escaped.
subcommand