Showing results for 
Search instead for 
Did you mean: 

m4 and

Occasional Advisor

m4 and

I am using m4 to create a file and I would like to make additions to the SParse1 part of ruleset 0. I can't get my rules to show up where I want them in the file. I have tried some of the divert() statements, but they don't give me what I want.
Anyone know how to control where your m4 statements show up in a file?
Steven E. Protter
Exalted Contributor

Re: m4 and

The standard HP-UX implementation does not use the file. It uses the same thing under another name.

Here is my buildmail script text.

This script documents the location of the replacement file /usr/newconfig/etc/mail/cf/cf

changes normally made to should be made here. The script I wrote, generates a file and moves it to production and restarts the sendmail daemon.

Steven E Protter
Owner of ISN Corporation