Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

awk print until match

awk '1;/PPP/{exit}' file
 
PREVIOUS NEXT
Tagged: #awk #print #match
ADD COMMENT
Topic
Name
3+8 =