Write a program that lists the usage of words in the form


Problem

1. Write a program that lists the usage of words (in the form word: count) in its argument files. You should use perl's definition of a word.

2. Write a program that displays to the standard error the maximum line length (say, x) of the filename specified as argument. Wherever necessary, the program has to append spaces at the end of a line so that all lines have x as the length. The modified output must be written to the standard output. Assuming that the file is small, do you need to read the file twice to do this?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that lists the usage of words in the form
Reference No:- TGS02671877

Expected delivery within 24 Hours