Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Configure Sendmail to prevent failure after system updates' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Configure Sendmail to prevent failure after system updates
Authored by: discordantus on May 07, '03 02:51:02PM
Assuming that MacAvenger is correct, and that you DO need the backtick, then you should be able to "fix" the hint by escaping the backtick with backslashes, thusly:

echo "define(\`confDONT_BLAME_SENDMAIL', \`GroupWritableDirPathSafe')dnl" >> system-darwin.mc

You need to do this because the backtick is a special shell character, anything enclosed in them will get executed in a subshell. You need to place a backslash in front of them if you want the shell to consider them to be a normal character.
Example:

user1% echo I am at `hostname`
I am at foo.net
user1% echo I am at \`hostname\`
I am at `hostname`


And yes, I censored my real hostname.

[ Reply to This | # ]
testing. ignore this!
Authored by: discordantus on May 07, '03 03:17:45PM

just testing how backslashes get stripped. move along...
16 backslashes:
\\\\\\\\\\\\\\\\



[ Reply to This | # ]