Output should be: 4 0 4 6 9 106 1311 2Ah 69 82 45 38
4 0 4 6 9 106 1312 3Ah 77 These 45 and 38 can be taken from any line which is given in red in above input file,on basis of hopping system or cell number
Really your help is appreciated...... Also plz expl me the logic behind the code to learn....
< 4 0 4 6 9 106 1311> -- Cell Number our Unique key
<2Ah> -- BSIC
<69> --(Next string after the Key if 4th line from this would be BCCH)
<82 119> --4th Line of Chg_hop_params
<45> --5th Line of Chg_hop_params
Let me know if its going above head.... Looking forward for your help
< 4 0 4 6 9 106 1311> -- Cell Number our Unique key
<2Ah> -- BSIC
<69> --(Next string after the Key if 4th line from this would be BCCH)
<82 119> --4th Line of Chg_hop_params
<45> --5th Line of Chg_hop_params
Let me know if its going above head.... Looking forward for your help
I don't understand how you got '119-45-868 867-38' from the given sample input.
Also, what changes have you tried yourself? We're on the THIRD page of this thread - you should be able make some minor modifications to the code.
I don't understand how you got '119-45-868 867-38' from the given sample input.
Also, what changes have you tried yourself? We're on the THIRD page of this thread - you should be able make some minor modifications to the code.
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Hi all,
I want to search for strings in file1 that can be found in file2 and print out the whole line when matching pattern is found.
I have used the below command, but this is not working for me, because it is writing out only the matching patterns from file2, not the whole line.
fgrep -o... (2 Replies)
Hello,
I have two files file 1 and file 2 each having result of a query on certain database tables and need to compare for Col1 in file1 with Col3 in file2, compare Col2 with Col4 and output the value of Col1 from File1 which is a) not present in Col3 of File2 b) value of Col2 is different from... (2 Replies)
Hi all,
on Solaris 10, I'd like to print a range of lines starting at pattern but also including the very first line before pattern.
the following doesn't print the range starting at pattern and going down to the end of file: cat <my file> | sed -n -e '/<pattern>{x;p;}/'
I need to include the... (1 Reply)
i have a file as below
sample.pl
parameter1
argument1
argument2
parameter2
I want out as below
argument1
argument2
that is , i want to print all the lines between parameter1 & parameter 2.
i tried with the following
if($mystring =~ m/parameter1(.*?)parameter2/) (2 Replies)
Dear Experts,
I have file called file1 in which i am greping a pattern after that i want to next 3 lines when that pattern is matched.
Ex:- file1
USA
UK
India
Africa
Hello
Asia
Europe
Australia
Hello
Peter
Robert
Jo
i want to next 3 lines after matching Hello... (12 Replies)
Hi
I have a file (say 'file1')and I want to search for a first occurence of pattern (say 'ERROR') and print ten lines in the file below pattern. I have to code it in PERL and I am using Solaris 5.9.
I appreciate any help with code
Thanks
Ammu (6 Replies)
Hi :),
I am using the script to search "MYPATTERN" in MYFILE and print that block of lines containing the pattern starting with HEADER upto FOOTER.
But my problem is that at some occurrence my footer is different e.g. ";". How to modify the script so that MYPATTERN between HEADER and different... (1 Reply)