Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. awk 'BEGIN{while(" w_scan -c PL -x " | getline ) print >> "tmp" }'
  2.  
  3. awk 'BEGIN{while(" w_scan -I tmp -E 0 -t 3 -F " | getline) print >> "channels" }'
  4.  
  5. awk 'BEGIN { while (" w_scan -c PL -x " | getline ){split($0, tab, RS) system( " w_scan -I 47" tab[1] "47 -E 0 -t 3 -F " ">>" "channels" )}}'
  6.  
  7. BEGIN {
  8. while (" w_scan -c PL -x " | getline ) {
  9. split($0, tab, RS)
  10. system( " w_scan -I '47'" tab[1] "'47' -E 0 -t 3 -F >> channels" )
  11. }
  12. }
  13.  
  14. #!bin/bash
  15. awk 'BEGIN{while(" w_scan -c PL -x " | getline ) print >> "tmp" }'
  16. awk 'BEGIN{while(" w_scan -I tmp -E 0 -t 3 -F " | getline) print >> "channels" }'
  17.  
  18. awk '
  19. BEGIN {
  20. while(" w_scan -c PL -x " | getline ) print >> "tmp"
  21. while(" w_scan -I tmp -E 0 -t 3 -F " | getline) print >> "channels"
  22. }
  23. '
  24.  
  25. awk 'BEGIN { while(" w_scan -c PL -x " | getline ) print >> "tmp"; while(" w_scan -I tmp -E 0 -t 3 -F " | getline) print >> "channels" }'
  26.  
  27. awk -f run.awk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement