[comp.unix.programmer] M4 -- custom functions

stealth@engin.umich.edu (Mike Pelletier) (10/30/90)

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."