X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/c0bd106b31e7ceddac35cced23cb32989ac7c8e1..38f9d4b42d12c8b5ba0f39ab08cbb486ba7bb8e7:/procmail/sql-escape diff --git a/procmail/sql-escape b/procmail/sql-escape index 02c090a..c8bb8c9 100644 --- a/procmail/sql-escape +++ b/procmail/sql-escape @@ -1,6 +1,6 @@ :0 * DATA ?? . -{ +{ # 1. replace ' with '' # 2. add quotes to each line # 3. swap comma outside @@ -12,6 +12,3 @@ :0 E { LOG="sql-escape: WARNING: no \$DATA provided!$NL" } - -SQE -SQ