Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. echo "$y"
  2. 5 aws
  3. 2 openstack
  4. 1 azure
  5. 3 others
  6.  
  7. echo "$y" |perl -lanE 'say "$F[1]n" x "$F[0]"'
  8. aws
  9. aws
  10. aws
  11. aws
  12. aws
  13.  
  14. openstack
  15. openstack
  16.  
  17. azure
  18.  
  19. others
  20. others
  21. others
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement