10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have been looking high and low for the solution for this. I seems there should be a simple answer, but alas.
I have a big xml file, and I need to extract certain information from specific items. The information I need can be found between a specific set of tags. let's call them... (2 Replies)
Discussion started by: Tobias-Reiper
2. Shell Programming and Scripting
I've written a script to search for an Oracle ORA- error on a log file, print that line and the .trc file associated with it as well as the dateline of when I assumed the error occured. In most it is the first dateline previous to the error.
Unfortunately, this is not a fool proof script.... (2 Replies)
Discussion started by: newbie_01
3. Shell Programming and Scripting
I want to search special string in file and then print next all line in one line until blank lines come. Help me plz for same. My input file and desire op file is as under.
A1/EXT "BSCABD1_21233G1" 757 130823 1157
RADIO X-CEIVER ADMINISTRATION
BTS EXTERNAL FAULT
... (7 Replies)
Discussion started by: jaydeep_sadaria
4. Shell Programming and Scripting
if the first string matches then print the previous line and current line and also print the following lines if the other string search matches.
TranTime 2012 10 12
The Record starts here
ccsdkcnsdncskd... (7 Replies)
Discussion started by: laknar
5. Shell Programming and Scripting
We have a script which takes the backup of some files and writes the output into a log file for each run on a daily basis. Following is the extract from the log file.
* BACKUP ACTIVITY STARTED ... (5 Replies)
Discussion started by: svajhala
6. Shell Programming and Scripting
I have a text file ( basically a log file) and i have 2 words (alpha, beta),
Now i want to search these two words in one line and then print next 15 lines in a temp file. there would be many lines with alpha and beta But I need only last occurrence with "alpha" and "beta" and next 15 lines.
... (4 Replies)
Discussion started by: kashif.live
7. Shell Programming and Scripting
how to find a word and print n lines before and after the match until a blank line is encounterd (14 Replies)
Discussion started by: chidori
8. Shell Programming and Scripting
All I want is to look for the pattern in the file...If I found it at # places... I want print lines after those pattern(line) until I find a blank line.
Log EXAMPLE :
The following Numbers were affected:
java.lang.InternalError:... (3 Replies)
Discussion started by: prash184u
9. Shell Programming and Scripting
Can any one help us in finding the the last word of each line from a text file and print it.
1st --> aaa bbbb cccc dddd eeee ffff ee
2nd --> aab ered er fdf ere ww ww f
the o/p should be a below.
f (1 Reply)
Discussion started by: naveen_sangam
10. Shell Programming and Scripting
I have almost 1000+ files and I want to search specific pattern. Looking forwarded your input.
Search for: word1.word2 (Which procedure contain this word, I need procedure name in output.
... (7 Replies)
Discussion started by: susau_79