Awk MCQ : 12

Q. Print the number of characters present each line?

Contributed by: admin

Input fileName:

#This is a comment
#Below is an empty line

echo "Hello World"
echo "This file just contains few echo statements"

echo "Lines starting with # is comment and won't be printed on screen"
echo "This is a dummy line"

echo "Below are few empty lines"

echo "Last line of the file"