Sponsored Content
Full Discussion: Better way to do it ?
Top Forums Shell Programming and Scripting Better way to do it ? Post 302950972 by vgersh99 on Thursday 30th of July 2015 04:41:51 PM
Old 07-30-2015
Code:
awk '
  BEGIN {
     FS=OFS="|"
     split("190|192|099|192|193|198|199|298|800",t,FS)
     for(i=1; i in t;i++) a[t[i]]
  }
  $13 in a' myFile

 
All times are GMT -4. The time now is 02:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy