X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=blobdiff_plain;f=utils%2Fparse_macros;h=186ef61ff03626c9cab1042c612c3ddb896d65e6;hp=466bceae1722456d0852081e98bf8b120acda0e7;hb=c6ae78ead8bae7b798c843ed0cffd466e69060e4;hpb=2892541670e3ffe6f407a76a1a6315b80b8f63c6 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"