From: Matthieu Moy Date: Sat, 14 Sep 2013 17:50:33 GMT Subject: Re: [PATCH] t7508: avoid non-portable sed expression Message-ID: In-Reply-To: <1379134032-83211-1-git-send-email-sunshine@sunshineco.com> Eric Sunshine 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/