aboutsummaryrefslogtreecommitdiff
path: root/sh/runscript.sh.in
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-11-06 22:49:49 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-11-06 22:49:49 +0000
commitf6c3896087a364e7cabe791640a50c675fc9ca4a (patch)
treea19ff9a25092e7aa02a9ca08a69ebfaf3b25e17f /sh/runscript.sh.in
parentec60e20331c7becd1b46ca38291f4c75db25e168 (diff)
init.d/bootmisc: POSIX XSI shellism.
In a pathname expansion, specifically single-character match, the pure POSIX specification uses '!' as the Negation character where a regular expression would normally be '^'. Regular expression: "a[^a]a" Pathname expansion pattern: "a[!a]a" Reference: IEEE Std 1003.1, 2004 Edition 2. Shell Command Language 2.13 Pattern Matching Notation 2.13.1 Patterns Matching a Single Character > The description of basic regular expression bracket expressions in the > Base Definitions volume of IEEEĀ StdĀ 1003.1-2001, Section 9.3.5, RE > Bracket Expression shall also apply to the pattern bracket expression, > except that the exclamation mark character ( '!' ) shall replace the > circumflex character ( '^' ) in its role in a "non-matching list" in > the regular expression notation. A bracket expression starting with an > unquoted circumflex character produces unspecified results. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sh/runscript.sh.in')
0 files changed, 0 insertions, 0 deletions