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 PostI dont think you can do all that using default packages but "wc" do other things then counting lines(-l). run this command: "man wc" and it will teach you :).
You can use "man" for almost every commnd. It gives you the information and almost everything about a command, try …
Jump to Postchris.stout's solution searches every file you've got... icluding those in subdirectories.
Replace his "find . type f" by "ls" and you'll get matching dated files in the current direcory.ls -ltr
lists the files in the current directory with the latest ones last and including the last modification time. You …
All 6 Replies
khajvah
0
Junior Poster in Training
shivemg
0
Newbie Poster
esraa waqfi
0
Newbie Poster
chris.stout
14
Junior Poster in Training
Dumbledor
0
Newbie Poster
chris.stout
14
Junior Poster in Training
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.