Commit 64cba46
committed
fix(gnokii): use double \\ in [...] for POSIX.1-2024 recommendation
Currently, in POSIX-bracket expressions [...] in the POSIX sed regular
expressions, a backslash is treated literally, i.e., a single
backslash is enough to include it in the set of characters. However,
according to a newly added paragraph "APPLICATION USAGE/p5 - sed -
POSIX Issue 8 XCU", POSIX may allow implementations to interpret
backslashes in bracket expressions bracket in the future (in a similar
way as POSIX awk processes). It recommends using two backslashes in
bracket expressions for the future compatibility.
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/sort.html#tag_20_112_161 parent cacf97b commit 64cba46
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
0 commit comments