What is the command used to the below question? [closed]

Like this?

awk -F, '$2<2000{print $1", "$3}' sasi
Ravi, little stone
Sushanth, Menlo park
Rocky, columbus

Define comma , as the field separator, check that field 2 is numerically smaller than 2000, print the 1st and 3rd field if it is.

Leave a Comment