Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

print every line that contains a pattern

 awk 'match($0, 'match') {print $0 RESTART}' File.txt
 
PREVIOUS NEXT
Tagged: #print #line #pattern
ADD COMMENT
Topic
Name
6+9 =