10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am trying grep to read from pattern file and count occurances of each word.
i want the following.
1-count number of times keywords in patternfile occurs in begining of each line in input file.
so... (12 Replies)
Discussion started by: ahfze
2. Shell Programming and Scripting
I have a below file which contain as
Use descriptive thread titles when posting Urgent.
For example, do not post questions with subjects like "Help Me!", "Urgent Urgent Urgent" .
or "Doubt". Post subjects like "Execution Problems with Cron" or "Help with Backup Shell Script".... (7 Replies)
Discussion started by: Jewel
3. UNIX for Advanced & Expert Users
1000CUS E Y4NYRETAIL
1101DEBY XXAD ZSSKY TSSROS
1000CUS E Y NYCORPORATE
1101XXXQ FOR CTING AND... (1 Reply)
Discussion started by: john2022
4. Shell Programming and Scripting
I am trying to search a file for a patterns ERR- in a file and return a count for each of the error reported
Input file is a free flowing file without any format
example of output
ERR-99999=10 (4 Replies)
Discussion started by: swayam123
5. Shell Programming and Scripting
I am having a zipped file which has the following URL contents -
220.127.116.11 - - "GET /liveupdate-aka.symantec.com/1340071490jtun_nav2k8enn09m25.m25?h=abcdefgh HTTP/1.1" 200 159229484 "-" "hBU1OhDsPXknMepDBJNScBj4BQcmUz5TwAAAAA" "-"
In this line here is we only need to consider the... (4 Replies)
Discussion started by: Naks_Sh10
6. Shell Programming and Scripting
need help in recognizing the pattern of file name. For e.g.
file name 1: <static file prefix>.<store cd>_<YYYYMMDD>.<ext>
file name 2: <static file prefix>_<YYYYMMDD>.<ext>
I want to know that there are 3 dots "." in the file name1 and one dot "." in file name2. How can I know... (3 Replies)
Discussion started by: dips_ag
7. Shell Programming and Scripting
I have 3 files
each file contain word babu many times
babu amit msdfmdfkl babu abhi
I want to count only the count of babu ,how many times it appeared . (5 Replies)
Discussion started by: abhigrkist
8. Shell Programming and Scripting
I need to count the number of occurrences of a pattern, say 'key', between each occurrence of a different pattern, say 'lu'.
Here's a portion of the text I'm trying to parse:
lu S1234L_149_m1_vg.6, part-att 1, vdp-att 1 p-reserver IID 0xdb
key 4156 4353 0000 0000
... (3 Replies)
Discussion started by: slipstream
9. UNIX for Dummies Questions & Answers
I need to search and count the occurrences of a pattern in a file. The catch here is it's a pattern and not a word ( not necessarily delimited by spaces). For eg. if ABCD is the pattern I need to search and count, it can come in all flavors like (ABCD, ABCD), XYZ.ABCD=100, XYZ.ABCD>=500,... (6 Replies)
Discussion started by: tektips
10. Shell Programming and Scripting
I've written a script to count the total size of SAN storage LUNs, and also display the LUN sizes.
From server to server, the LUNs sizes differ.
What I want to do is count the occurances as they occur and change.
These are the LUN sizes:
49.95... (2 Replies)
Discussion started by: cyber111