Eric Sunshine sunsh...@sunshineco.com writes:
strip_comments () {
- sed s/^\# //; s/^\#$//; s/^#\t/\t/ $1 $1.tmp
+ tab=' '
+ sed s/^\# //; s/^\#$//; s/^#$tab/$tab/ $1 $1.tmp
Sounds trivially right.
Sorry for breaking this.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
2556b996 (status: disable display of '#' comment prefix by default;
2013-09-06) introduced tests which fail on Mac OS X due to unportable
use of \t (for TAB) in a sed expression. POSIX [1][2] also disallows
it. Fix this.
[1]:
2 matches
Mail list logo