Advertisement
Tolyamba

SPO_LR5

Nov 11th, 2016
947
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Awk 0.16 KB | None | 0 0
  1. #!/usr/bin/awk –f
  2. BEGIN {
  3. arr[10]
  4. for ( i=0; i<10; i++ )
  5. arr[i]=0
  6. }
  7. {
  8. if (arr[0]<$10)
  9. arr[0]=$10
  10. }
  11. END {
  12. for ( i=0; i<10; i++ )
  13. printf  arr[i]
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement