diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-08 14:59:33 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-08 15:04:28 -0500 |
commit | 98a9cba0505689cf9a63411521038e340bffa1fc (patch) | |
tree | 258c942f751e97dcf45fa6972bf07e8ce3f2c038 | |
parent | e589d617513767c99eb5e35f6fcdf74d6ed6b4fb (diff) |
-mozconfig: strip trailing comments for _line
-rwxr-xr-x | moz-normalize-mozconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moz-normalize-mozconfig b/moz-normalize-mozconfig index 92a848d..07a427e 100755 --- a/moz-normalize-mozconfig +++ b/moz-normalize-mozconfig @@ -10,7 +10,7 @@ urlencode() { # class-id:line classify-lines() { while read line; do - _line="$(printf '%s' "$line"|sed -r 's/^#(\S)/\1/')" + _line="$(printf '%s' "$line"|sed -r -e 's/^#(\S)/\1/' -e 's/ #.*//')" class='other' case "$_line" in ac_add_options\ --enable-application=*) class=setapp;; |