Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get match awk

awk -F 'some_delimiter' '{print $3}' file.txt
#Gets third match pattern between specific delimiter
#Ex
echo 'Hi_New_World!' | awk -F '_' '{ print $3}' 
World!
 
PREVIOUS NEXT
Tagged: #match #awk
ADD COMMENT
Topic
Name
6+3 =