9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am trying to figure out to find word count of each word from my file
hi how are you
hi are you ok
sample out put
wc -l filename is not helping , i think we will have to split the lines and count and then print and also... (4 Replies)
Discussion started by: mirwasim
2. Shell Programming and Scripting
file1 and file2 contain 157 words.
Emptyfile1 contain 0 words.
My script has to output how many files is filled with words and how many that are not.
If there are files that have words in it. It has to output "file2 and file2 contains 157 words, 0 files are empty"
If not every... (9 Replies)
Discussion started by: johnrichards
3. Shell Programming and Scripting
does somebody know how to do a word count in a .html file?
Just the text words, without all the html code.
Thanks (4 Replies)
Discussion started by: louisJ
4. UNIX for Dummies Questions & Answers
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
5. Shell Programming and Scripting
Need help regarding counting the word "friend" in files test1.txt and test2.txt. ( there is no gap/space between word )
himynameisdostandiamfriendofdostfriend... (2 Replies)
Discussion started by: forroughuse
6. UNIX for Dummies Questions & Answers
Hi, been searching Google for like an hour and I doubt I got the right keywords so might as well ask here.
What I need:
* Separate files over 400 wordcount *
Article1.txt 564... (3 Replies)
Discussion started by: Richard2000
7. Shell Programming and Scripting
I want to know the count of specific word in a file. I have almost 600+ files.
So I want to loop thru each file and get the count of the specific word.
Please help me on achieving this...
Many thanks (2 Replies)
Discussion started by: elamurugu
8. Shell Programming and Scripting
Hi all, I am trying to write a command that can help me count the number of lines in the /etc/passwd file ending in bash.
I have read through other threads but am yet to find one indicating how to locate a specifc word at the end of a line. I know i will need to use the wc command but when i... (8 Replies)
Discussion started by: warlock129
9. UNIX for Advanced & Expert Users
This is my worst nightmare in recent years!!!
I spent two days writing a proposal due tomorrow, ftp'ed the Word doc to a Unix machine in ASCII mode (i forgot to turn BIN on). Then I was trying to help a colleague download it and I accidently download the ASCII file back to the same dir on my... (1 Reply)
Discussion started by: venkir