Line 0
Link Here
|
|
|
1 |
Avoid GNUism \s |
2 |
|
3 |
--- tools/make-builtin-config.sh.orig 2018-11-23 06:50:40 UTC |
4 |
+++ tools/make-builtin-config.sh |
5 |
@@ -21,7 +21,7 @@ TIGRC="${1:-tigrc}" |
6 |
|
7 |
read_tigrc() { |
8 |
if test -z "$NO_BUILTIN_TIGRC"; then |
9 |
- sed 's/\s*#.*//' "$TIGRC" | sed 's,\\,\\\\\\\\,g' | sed 's,",\\\\",g' | sed 's/ \+/ /g' |
10 |
+ sed 's/[[:space:]]*#.*//' "$TIGRC" | sed 's,\\,\\\\\\\\,g' | sed 's,",\\\\",g' | sed 's/ \+/ /g' |
11 |
else |
12 |
echo '#' |
13 |
fi |