🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1112

M4 -- custom functions

#1112
From: Mike Pelletier
Date: Mon, 29 Oct 1990 22:55
11 lines
943 bytes
In m4, is it possible to define your own function?
What I want is a call that will do something like
nfs(hostname,partition) => /n/engin/hostname/partition

Would I need to use the syscmd command and some auxiliary files
to accomplish this, or is there a better way?
--
	Mike Pelletier - Usenet News Admin & Programmer
"Wind, waves, etc. are breakdowns in the face of the commitment to getting
 from here to there.  But they are the conditions for sailing -- not
 something to be gotten rid of, but something to be danced with."
Technical Details
Message-ID: <1990Oct29.225517.6223@engin.umich.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!sol.ctr.columbia.edu!caen!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!sol.ctr.columbia.edu!caen!news
From: stealth@engin.umich.edu (Mike Pelletier)
Newsgroups: comp.unix.programmer
Subject: M4 -- custom functions
Message-ID: <1990Oct29.225517.6223@engin.umich.edu>
Date: 29 Oct 90 22:55:17 GMT
Sender: news@engin.umich.edu (CAEN Netnews)
Followup-To: poster
Organization: University of Michigan Engineering, Ann Arbor
Lines: 11