DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+9 =
Submit