943,589 Members | Top Members by Rank

Ad:
May 16th, 2004
0

Case and loop

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hotlantas69 is offline Offline
7 posts
since May 2004
May 16th, 2004
0

Re: Case and loop

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...
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
May 17th, 2004
0

Re: Case and loop

haven't started it. I'm looking in my manuals and can't find anything like this
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hotlantas69 is offline Offline
7 posts
since May 2004
May 23rd, 2004
0

Re: Case and loop

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Ludootje is offline Offline
16 posts
since May 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: Need help with BASH to MS-DOS Batch conversion.
Next Thread in Shell Scripting Forum Timeline: Your thoughts regarding AdA





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC