Computer Science, asked by nidhimaddhesiya17, 2 months ago

How to get the no. of lines with a pattern
(This question has 2 correct answers, select both to score)
A grep -i "<PATTERN>" filename
B
grep -c "<PATTERN>" filename
C awk '/<PATTERN>/ {count++} END {print count}' filename
D
grep -o "<PATTERN>" filename​

Answers

Answered by harbansingh7051
0

we can get a new one and only takes a c program to fill out

Similar questions