It did notwork
I have tried this code by it returns nothing
awk -F, '{if($1=='$cust' && $2=='$os' ) print $1, $2, $3}'
The following commands works but I want to know how do I use awk
cat myfile|grep -e "^$cust,$os"
awk -F, '{if ($1==mycustomer && $2==linux) print $1,$2,$3}'
awk -F, '{if($1 ~ /'$cust'/ && $2 ~ /'$os'/) print $1, $2, $3}'