Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
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