Replace 'flag' with 'getopt' in 'wc' to handle command line params
Update 'wc' to make output more POSIX compliant:

Changed the output format to:
"%d %d %d %d %s\n"
from
"%7d %7d %7d %7d %s\n"

Removed the 'L' option as it is not a part of the POSIX standard

Output either bytes or characters, not both. Favour characters
when both -c and -m parameters are given.
Output total statistics in wc when multiple files are given
Add STDIN handling to wc