0

I need to check all number which starts from 2,3,7 or 8

awk -F, 'BEGIN { OFS = FS } $19 ~/^[2-3]/ 
awk -F, 'BEGIN { OFS = FS } $19 ~/^[7-8]/

I need to combine in 1 line like (it's incorrect, it just my try)

awk -F, 'BEGIN { OFS = FS } $19 ~/^[2-3-7-8]/ 

How can I correct this ?

oguz ismail
  • 1
  • 16
  • 47
  • 69

1 Answers1

-1
awk -F, 'BEGIN { OFS = FS } $19 ~/^[2378]/ 
user448810
  • 17,381
  • 4
  • 34
  • 59