Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BEGIN {
- cnt_rreshta=0
- cnt_fjale=0
- }
- {
- if(NR % 2 == 0) {
- print
- cnt_fjale += NF
- cnt_rreshta++
- }
- }
- END {
- print "Rreshta cift: " cnt_rreshta
- print "Fjale: " cnt_fjale
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement