Answers for "awk"

0

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!
Posted by: Guest on January-18-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language