Ronan
Auditioning
- Joined
- Jul 5, 2001
- Messages
- 6
I want to write a script to count command line arguments in a unix csh script.
I have had ago but only seem to be able to count the total number of line wealther they are command line or not.
If someone could help me alter the script below I would be very greatful.
# Part2.2 count the number of command line arguments types.
echo "the number of command line arguments is: "
wc -l < [file name].
I have had ago but only seem to be able to count the total number of line wealther they are command line or not.
If someone could help me alter the script below I would be very greatful.
# Part2.2 count the number of command line arguments types.
echo "the number of command line arguments is: "
wc -l < [file name].