Name

-S

Synopsis

The dequote type (dequote) refuses to remove quotation marks if doing so will result in an illegal address. For example, internal space characters are illegal in addresses:

"a b"           becomes      "a b"

The -S switch causes all the quoted space characters to be changed into a character that you specify just before the dequoting process:

Kdequote dequote -S+

Here, we specify that quoted strings will have quoted spaces converted into a plus before dequoting. Therefore, the preceding conversion becomes the following:

"a b"           becomes      a+b

As you will see in the reference sections at the end of this chapter, this -S database switch can be used with a few other types as well.

Get Sendmail, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.