m4 processor (how to use)

hi,
what plugins i need to install to run m4 processor in bash shell. Also, what is the file extension for m4 processor ( like .cc in c ).

Thanks

It doesn't matter what extension you use, but vim recognizes
'.m4'. So, for the purposes of getting syntax highlighting, I'd use the extension 'm4'.

Not sure what you mean by plugins, unless you mean plugins for your editor to get syntax highlighting. If you use the extension m4 you do not need any plugins for vim, if you have the full version installed. Ubuntu gives you vim-tiny, so you'll want to:

sudo apt-get install vim

Likewise with m4 itself. If your distribution doesn't include it, install it. In Ubuntu it's:

sudo apt-get install m4

Similar for other distributions. Emacs should have m4 highlighting as well by default. Also will recognize the m4 extension.

Enjoy!

Bubnoff