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

Recommended Answers

All 3 Replies

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... ;)

haven't started it. I'm looking in my manuals and can't find anything like this

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 ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.