m4 processor (how to use)


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting m4 processor (how to use)
# 1  
Old 08-30-2010
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
# 2  
Old 09-17-2010
m4

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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help for processor

hello Admins, how to find number of processor in unix machine. (2 Replies)
Discussion started by: vipinkumarr89
2 Replies

2. Shell Programming and Scripting

Processor and Its speed

Hi I need a command to know how many processors are available and what is their speed in UNIX. Thanks (2 Replies)
Discussion started by: diksha2207
2 Replies

3. UNIX for Dummies Questions & Answers

Processor id/name

How to find out whether the system has multiple processors. In multiprocessor system how to get their names or ids How to send command to a particular processor ( can we use rsh) (6 Replies)
Discussion started by: anjum
6 Replies

4. UNIX for Dummies Questions & Answers

Processor bits

Hi friends pls let me know how to find sun processor is 32 bits or 64 bits through command line. thanks (2 Replies)
Discussion started by: anuragbirje
2 Replies

5. AIX

Processor and processor core

Guys... Hows it going??? I have been going through the hardware spec of IBM system p systems.. and here i am confused for IBM Power 520 Express it says Processor cores: One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

6. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

7. Shell Programming and Scripting

How to get Processor Id

Hi Everyone I am new to unix. I ahve few quries that i would like to post. Is there any way by which i get the unique processor Id. Actually i am unable to find any logic and method to get access to Processor Id. Is it possible to get it. I read it on Intel site that the new processor do no... (1 Reply)
Discussion started by: atul.saxena
1 Replies

8. AIX

Intel Processor

hello World I Hope to know Why AIX don't Run under INTEL Processor ?? If Any Project Is expected to make AiX to run Under INTEL Processor ??? Thank you ALL (3 Replies)
Discussion started by: mktahar
3 Replies

9. UNIX for Dummies Questions & Answers

checking no of processor

Is there any other command to check no of processor rather than prtconf -v, prtdiag -v, banner (on boot PROM) (3 Replies)
Discussion started by: abi
3 Replies

10. UNIX for Dummies Questions & Answers

Processor

From a PROM ok prompt I have typed banner. This returned this info SunSPARCStation20 (1X390Z50) ...... Okay, I read that the 1x390z50 is the processor type. How can I found out the speed of these processor? Is it 50mhz? Don't know but I am curious. Thanks (5 Replies)
Discussion started by: jwbrown
5 Replies
Login or Register to Ask a Question