]> gitweb.michael.orlitzky.com - nagios-mode.git/blobdiff - utils/parse_macros
Remove the slashes from around the macro definitions, and use regexp-opt instead...
[nagios-mode.git] / utils / parse_macros
index 466bceae1722456d0852081e98bf8b120acda0e7..186ef61ff03626c9cab1042c612c3ddb896d65e6 100755 (executable)
@@ -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"