Description: Write a C program (on a Unix/Linux system) that counts and displays the number of words, non-white space characters, and/or lines in a text file. The name of the input file is to be provided to the program as a command line argument. In addition, the program takes option flags to determine what actions to take. The command format is as follows:
command [-clw] inputfile
where the presence of a flag indicates the following actions:
c: display the number of characters in inputfile.
l: display the number of lines in inputfile.
w: display the number of words in inputfile.
To Search:
File list (Check if you may need any files):
Project1.c