I need to find the amount of information entered from within my script and I'm a bit stumped.
If the information was entered from the command line I could easily use the $# feature.
I figure I would need to do something like this to create each variable
wc -w | var1=$(cut -f1)
How would I tell the script to do that on the line that the user enters (keeping in mind that they only enter one line of information)
If people could give me some insight it would be greatly appreciated