Awk MCQ : 10


Q. Print lines which does not start with #?





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"