M4 -- custom functions

Mike Pelletier stealth at engin.umich.edu
Tue Oct 30 09:55:17 AEST 1990


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



More information about the Comp.unix.programmer mailing list