Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. # Delimiter
  2. FS=";"
  3.  
  4. BEGIN { THRESHOLD=4 }
  5.  
  6. # Select only 'Data' lines that pass the threshold.
  7. ($1 ~ /^Data/) && ($2 >= THRESHOLD) {
  8. # Emit only a select few columns.
  9. print NR, $3, $4, $5
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement