Learning m4

Until today, I had heared about m4 only that it is one of the so many special Unix tools of which I will never now exactly how they work or at least not completly. Unfortunately gtkmm uses a lot of m4 to generate the C++ code from it’s .hg and .ccg input files and I had to change some things to allow building without Atk.

So I found out that m4 is not that damn complicated and could after some manual reading easily archive the things that I wanted. Anyway, I also changed some code in *.pm files without knowing what language they use in detail. Seems like a quite easy scripting language but would be cool if someone could tell me.

Commentary

Leave a response »

  1. 1. September 8th, 2006

    .pm files are perl. It’s an unpleasant programming language that gets stuff done.

    murrayc
  2. 2. September 9th, 2006

    Thanks, sometime later I found out that those a perl modules. Well, I was not too important to know for my changes because I just looked for some examples which did mostly the same

Trackbacks

Leave a comment, a trackback from your own site or subscribe to an RSS feed for this entry. Trackback URL for this entry Comments feed for this entry

Leave a response

Leave a URL

Preview