Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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 " " 
Source by opensource.com #
 
PREVIOUS NEXT
Tagged: #awk #string #match
ADD COMMENT
Topic
Name
3+9 =