New to Scripting!!

Hello forum,

I need help on an assignment! I know it says not homework! I am really lost this is the first I ever seen this before. I use Linux!

I need to do this:

Write a program that reads file's from the command line, and have more than 100 chracters. The number of files is not fixed into my program has to be decided by the user of the program. If not file meet what I am asking for there should be a error. I have to use a while loop, cat command, and wc command.
It should be syntax of wc command is given below.

wc - print the number of bytes, words, and lines in files
-c, --bytes
print the byte counts
-m, --chars
print the character counts
-l, --lines
print the newline counts
-L, --max-line-length

I am not asking anyone to complete my assigment. I am askin for help to understand how this works. I am taking this in a online course, and the teacher has not gone over this ever and not he wants us to complete this crazy stuff. I need someone to really sit down and show me this stuff. maybe chat on yahoo messenger or something! I just need guidance!

Thank you!!!

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.