X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=utils%2Fparse_macros;h=186ef61ff03626c9cab1042c612c3ddb896d65e6;hb=8c2b428ac0a58522c798e51a74838b4f91204ef0;hp=466bceae1722456d0852081e98bf8b120acda0e7;hpb=c8197c4400ace50ae3f488725462fceb9f729a80;p=nagios-mode.git diff --git a/utils/parse_macros b/utils/parse_macros index 466bcea..186ef61 100755 --- a/utils/parse_macros +++ b/utils/parse_macros @@ -70,5 +70,5 @@ sort "$OUTFILE" > "$TEMPFILE" # Add quotes and '\\$' before and after each macro. This just # makes it easy to cut-and-pase into nagios-mode.el. -sed -e 's/^/\"\\\\\$/g' -e 's/$/\\\\\$\"/g' "$TEMPFILE" > "$OUTFILE" +sed -e 's/^/\"\$/g' -e 's/$/\$\"/g' "$TEMPFILE" > "$OUTFILE" rm "$TEMPFILE"