Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- linecnt=0;
- tr -s ' ' '\n' < $file_name | { while read word
- do
- linecnt=$((linecnt+1))
- done | sort -u
- echo "${linecnt} words"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement