Guest User

Untitled

a guest
Dec 14th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. 1 15 1 3 2
  2. 2 18 4 6 5
  3. 3 19 7 8 9
  4. 4 23 10 2 11
  5. 5 25 18 17 16
  6.  
  7. 3
  8. 5
  9. 2
  10. 18
  11.  
  12. 15 3
  13. 18 5
  14. 19 0
  15. 23 2
  16. 25 18
  17.  
  18. 19 0
  19.  
  20. a=( $(grep -e '14,12|:*' File0 | cut -b 9-17) )
  21.  
  22. grep -Fwf File2 File1
  23.  
  24. awk 'FNR==NR {arr[$1];next} $1 in arr' File2 File1
Add Comment
Please, Sign In to add comment