![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| count occurences of specific character in the file | superprogrammer | HP-UX | 9 | 04-09-2008 11:05 AM |
| Count the number of occurence of perticular word from file | rinku | Shell Programming and Scripting | 40 | 08-10-2007 07:33 PM |
| grep and count no of occurences in every line of a file | srikanthgr1 | Shell Programming and Scripting | 12 | 04-20-2007 09:16 AM |
| How to count no of occurences of a character in a string in UNIX | kamesh83 | UNIX for Advanced & Expert Users | 11 | 03-17-2006 02:39 PM |
| word count showing wrong number of lines | tselvanin | UNIX for Dummies Questions & Answers | 3 | 01-06-2004 11:33 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
Quote:
I have a particularly similar need to count occurrences of words. The detail is that the words are many and are contained in ahother file. Perl experts, can u pls tell if it's possible to modify this script such that it accepts a file with strings to count in another file? and example string file would be: roweiurwoiur gfdkgjdlfkgjh wiruyweoiry i.e. one string per line. The file to search in contains these strings delimited by non-word-constituent characters, not blanks. thank u much in advance! PS I tried this script with my data - it works! although finding strings one by one seems not feasible.. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| grep, perl, perl shift, shift, shift perl |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|