10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
Need your ideas on a section of code to finish something up. To make a long story short, I'm parsing a print output file that goes to pre-printed forms. I'm intercepting it, parsing it, formatting it, cutting it up into individual pages, grabbing the text I want in zones, building an... (3 Replies)
Discussion started by: ampsys
3. Shell Programming and Scripting
I need to count the total no of SIN*Y and SIN*N patterns from the below file , The file does not have a record terminators , data in the file is streamed i.e. one line
I want to put this count in xml structure
Tried the following awk... (13 Replies)
Discussion started by: techedipro
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. UNIX for Dummies Questions & Answers
I have a text..and i need to find a pattern in the text and count to the no of times the pattern occured.
i have used grep command ..but the problem is , it shows the occurrences of the pattern but doesn't count no of times the pattern occuries. (5 Replies)
Discussion started by: nvnni
6. Shell Programming and Scripting
I have the following files in a directory -
I would like to count the number files in the directory that contain the word "list"
I tried the following but it returns zero -
... (3 Replies)
Discussion started by: Prega
7. 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
8. Shell Programming and Scripting
This is my first post, please be nice. I have tried to google and read different tutorials.
The task at hand is:
Input file input.txt (example)
From this file the task is to grep the -E- and -W- strings that are unique and write a new file... (5 Replies)
Discussion started by: TestTomas
9. 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
10. Shell Programming and Scripting
I have another problem here on Bash. Assume I have an output file containing two columns which the second one contains :-
I would like to count the "`" characters for each line (which is first column). I am wondering what command can I used other than... (12 Replies)
Discussion started by: ahjiefreak