The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with if in shell pradeep_script Shell Programming and Scripting 2 05-23-2008 01:49 PM
Shell Problem dhananjayk Shell Programming and Scripting 14 11-21-2006 09:02 AM
shell problem yeah016 UNIX for Dummies Questions & Answers 4 07-20-2006 10:10 AM
Shell Problem. ###1tomato UNIX for Dummies Questions & Answers 4 08-28-2002 10:55 PM
shell problem Lee UNIX for Dummies Questions & Answers 1 09-10-2001 10:18 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-15-2008
dark_knight dark_knight is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 7
Question shell problem

Hello!
Can you please help me on a lab at school:
I have to to write a shell program which reads all .C files from the current directory and prints for each file how many '#define' directives it has and for each macro defined how many times is it used in that file.

Can you suggest how can i write this program?
Any indication would be much appreciated.
  #2 (permalink)  
Old 10-15-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,285
Sorry, there are rules in this forum that prohibit posting homework and similar stuff:

(6) Do not post classroom or homework problems.

You find them in the menu bar close to the top of the forum:
The UNIX and Linux Forums - Forum Rules
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0