10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
can i get a simple script for , Count same word which has come many times in single lines & pars
Eg file would be ==
"Thanks heman thanks thanks
So resullt should be
Thanks = 5
man = 1
thanks in advance :)
Please use code tags for code and... (1 Reply)
Discussion started by: heman96
2. UNIX for Dummies Questions & Answers
Please can you help how do I count the number of specific characters or words that appear in a file? (8 Replies)
Discussion started by: fretagi
3. UNIX for Dummies Questions & Answers
Hello Is there a way to calculate how many times a particular symbol appeared in a string before a particular word.
So, I want to count number of occurence of"/" in this directory before the word dog lets say.
Bob (3 Replies)
Discussion started by: FUTURE_EINSTEIN
4. UNIX for Dummies Questions & Answers
I'm trying to count the number of times each word in the file exist
for example if the file has:
today I have a lot to write, but I will not go for it. The main thing is that today I am looking for a way to get each word in this file with a word count after it specifying that this word has... (4 Replies)
Discussion started by: shnkool
5. 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
6. Shell Programming and Scripting
Output shud be (1 Reply)
Discussion started by: cdfd123
7. Shell Programming and Scripting
I wanted to know if there is a shell command to print a word n number of times
The Input File is :
Output File required is :
Kite (4 Replies)
Discussion started by: sam_2921
8. Shell Programming and Scripting
I am new shelll scripting..
this a question on passt exam paper, I was trying to solve it , I can not.
the question is as follow?
a. Write a shell script to count the number of accounts which belong to particular primary group in a standard UNIX system which uses local... (1 Reply)
Discussion started by: gurmad
9. Shell Programming and Scripting
I've been looking on the internet, and haven't found anything simple enough to use in my code. All I want to do is count how many times "-" occurs in a string of characters (as a package name). It seems it should be very simple, and shouldn't require more than one line to accomplish.
And this is... (2 Replies)
Discussion started by: Shingoshi
10. Shell Programming and Scripting
Hi Folks !!!!!!!!!!!!!!!!!!!
My Requirement is.............
i have a input file:
and my o/p should be
i.e. the word which occurs maximum number of times in a file should be... (5 Replies)
Discussion started by: aajan