Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1|2345|John|Smith
- 2|4563||Smith
- 3|5968||Doe
- 4|896|Rick|Lawson
- 5|889||Eddy
- awk -F '|' 'length($3) { ++count } END { print count }' < input
- 2
- cut -d '|' -f 3 input | wc -w
- cut -d '|' -f 3 data | grep -c .
Add Comment
Please, Sign In to add comment