awk string match code example
Example 1: awk string match
awk -e '$3 ~ /Normal/ {print $1" "$2}' ur_file.txt
#if column $3 match "Normal" print column 1 and 2 with space " "
Example 2: 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!