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
  • 39,105
  • 12
  • 41
  • 62

1 Answers1

-1
awk -F, 'BEGIN { OFS = FS } $19 ~/^[2378]/ 
user448810
  • 16,961
  • 2
  • 32
  • 56