i wanna ask how to read from a file and give a summery of letter count (separate small than capital letters),number of line ,number of paragraphs,number of quoted sentenses ?
i know the number of lines by (wc -l) but the others i woundered about !! hope somebody teach me :) thx
esraa waqfi
0
Newbie Poster
Recommended Answers
Jump to PostTo get the Capital letters count use
tr -cd "[a-z]"<filename | wc -c
In the same way you can solve other problems too.
Refer man pages of tr command.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.