spamhaus / spamassassin-dqs

Spamhaus code for the Spamassassin plugin. See https://docs.spamhaustech.com/40-real-world-usage/SpamAssassin/000-intro.html
Apache License 2.0
54 stars 16 forks source link

the sed -i -e does the wrong thing on FreeBSD #1

Closed lrosenman closed 5 years ago

lrosenman commented 5 years ago

The sed -i -e s/... command (at least on FreeBSD) makes a sh.cf-e file. The correct invocation should be:

sed -i "" -e ....

the -i switch REQUIRES an argument.

ricalfieri commented 5 years ago

Thanks for pointing it out, I tested on a BSD box and you are right. Documentation updated