From: martin f. krafft Date: Sun, 16 Sep 2007 10:01:10 +0000 (+0200) Subject: no need to quote double quotes now X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/e60c43899788940d1beab52e038cedc3ad6f8c33 no need to quote double quotes now --- diff --git a/procmail/msgid-index b/procmail/msgid-index index cef6476..b7f2109 100644 --- a/procmail/msgid-index +++ b/procmail/msgid-index @@ -15,7 +15,7 @@ SQ="'\\''" SQE="'\\\''" FIELDS="$FROM$NL$ORIGINAL_TO$NL$SUBJECT$NL$MSGID" QUERY="insert into logfiles (sender, recipient, subject, msgid, filename) values ( - `echo \"$FIELDS\" | sed -e 's,\\\",\\\\\",g; s,'\'','$SQE$SQE',g; s/^.*$/'\$SQE'&'\$SQE',/'` + `echo \"$FIELDS\" | sed -e 's,'\'','$SQE$SQE',g; s/^.*$/'\$SQE'&'\$SQE',/'` $SQ$THISLOGFILE_REL$SQ)" TRAP="$TRAP; $DO_QUERY '$QUERY'"