🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4635

Anyone using M4?

#4635
From: David S. Masterson
Date: Fri, 11 Mar 1994 00:42
21 lines
2098 bytes
Just a minor survey -- anyone using M4?  If so, on what?

Every now and then, I run into problems that seem to be something that M4
should handle.  Yet, everytime I try to make use of M4, I run into M4isms that
make it just too painful.  The most recent effort was to try to maintain Shell
code and VMS/DCL code in the same file (theory being that if its right there
in front of you, you're more likely to maintain both sides).  The problem that
caused M4 to be abandoned in favor of a home-grown program was that there was
no way of turning M4's macro expansion off and on when needed.  Without this,
M4 has the annoying tendency to want to expand things like 'define' unless you
go in and modify them word by word to be appropriately quoted.

Anyone else used M4 and run into things like this?
--
====================================================================
David Masterson					Consilium, Inc.
(415) 691-6311					640 Clyde Ct.
davidm@consilium.com				Mtn. View, CA  94043
====================================================================
"God is more interested in your future and your relationships than you are."
-- Billy Graham
Technical Details
Message-ID: <DAVIDM.94Mar10164203@malibu.consilium.com>
Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!ina.zfn.uni-bremen.de!marvin.pc-labor.uni-bremen.de!news.uni-stuttgart.de!news.belwue.de!News.Uni-Marburg.DE!news.th-darmstadt.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!wetware!spunky.RedBrick.COM!psinntp!psinntp!cimshop!davidm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1012a6,aa9c3e323ef1eed9,start
X-Google-Attributes: gid1012a6,public
X-Google-Thread: 1025b4,aa9c3e323ef1eed9,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1994-03-10 16:42:03 PST
Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!ina.zfn.uni-bremen.de!marvin.pc-labor.uni-bremen.de!news.uni-stuttgart.de!news.belwue.de!News.Uni-Marburg.DE!news.th-darmstadt.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!wetware!spunky.RedBrick.COM!psinntp!psinntp!cimshop!davidm
From: davidm@consilium.com (David S. Masterson)
Newsgroups: comp.unix.shell,gnu.misc.discuss
Subject: Anyone using M4?
Message-ID: <DAVIDM.94Mar10164203@malibu.consilium.com>
Date: 11 Mar 94 00:42:03 GMT
Sender: root@cimshop.UUCP
Organization: Consilium Inc., Mountain View, California
Lines: 21