Case and loop

Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2004
Posts: 7
Reputation: hotlantas69 is an unknown quantity at this point 
Solved Threads: 0
hotlantas69 hotlantas69 is offline Offline
Newbie Poster

Case and loop

 
0
  #1
May 16th, 2004
This is not hwork. Trying to teach myself.
I have to write a script that counts number of text, data, and html and C files in my home directory. I have to use case and loop. I have to display the total number for each file-type and also a count of unmatched files
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Case and loop

 
0
  #2
May 16th, 2004
How far have you gotten so far on this?

Post a code snippet, and maybe we can give you some pointers on how to proceed. When you say you "have to", you still do kind of sound like you were assigned this task...
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 7
Reputation: hotlantas69 is an unknown quantity at this point 
Solved Threads: 0
hotlantas69 hotlantas69 is offline Offline
Newbie Poster

Re: Case and loop

 
0
  #3
May 17th, 2004
haven't started it. I'm looking in my manuals and can't find anything like this
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 16
Reputation: Ludootje is an unknown quantity at this point 
Solved Threads: 0
Ludootje Ludootje is offline Offline
Newbie Poster

Re: Case and loop

 
0
  #4
May 23rd, 2004
You didn't say what language it is...
This should really be in your manual though, as it's pretty basic stuff. Otherwise, I'd recommend finding a better one
We are proud to say that no tests have been made on animals to provide you this post.
Also, we can assure you that if it would be necessary to do tests, we wouldn't use penguins for it.
Disclaimer: the author of this post is NOT responsible for any moral and/or physical damage this post could cause to you.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Shell Scripting
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC