Ok jayan_jay, thanks
But I wanted to extract only one of those information, one specified by an very accurate delimiter for that I specified something who can only work with LevelName
You solution permit to extract all informations, by removing all other extra characters.
But you method is more friendly for me
Skrynesaver thanks too
You specified me a perfect command, but now I must include it into my script, and understand all your command since I'm not familiar with those type of perl input ^^'
Actually I used cut command, but that's not as accurate as I want, and my big variable change sometimes, so the number of delimiter I use may change and my cut command will be broked.
Here it's the code I'm using actually =>
So I will try to include Skrynesave's command into this portion of code =>
By this way that's will work ?
jayan_jay, if you have something using awk, cut, grep or anything like that, who can replace the perl command, I will prefer that, since I will be probably more familiar to this method than the perl one.
Oh
That's look like very fine CarloM
That's command will work with using flat file I presume ?
And the sed function remove all informations into the ${bigvariable} except the information I want that's right ?
Hi All!!
I have a large file containing millions of records. My purpose is to extract 8 characters immediately from the given file.
222222222|ZRF|2008.pdf|2008|01/29/2009|001|B|C|C
222222222|ZRF|2009.pdf|2009|01/29/2010|001|B|C|C
222222222|ZRF|2010.pdf|2010|01/29/2011|001|B|C|C... (5 Replies)
In a particular directory, there can be 1000 files like below.
filename is job901.ksh
#!/bin/ksh
cront -x << EOJ
submit file=$PRODPATH/scripts/genReport.sh maxdelay=30
&node=xnode01
tname=job901
&pfile1=/prod/mldata/data/test1.dat
... (17 Replies)
Gents,
If is possible please help.
I have a big file (example attached) which contends exactly same value in column, but from column 2 to 6 these values are diff. I will like to compile for all records all columns like the example attached in .csv format (output.rar ).. The last column in the... (11 Replies)
Dear all,
I want to extract around 300 columns from a very large file with almost 2million columns. There are no headers, but I can find out which column numbers I want. I know I can extract with the function 'cut -f2' for example just the second column but how do I do this for such a large... (1 Reply)
hi, i have a file A like this:
******************* No 2823 ********************
contig15205-
G383C4U02H4G80+ is in contig15205-
G383C4U02HGLXM- is in contig15205-
G383C4U01C3HIZ+ is in contig15205-
... (3 Replies)
Hi, i have a file like this:
<Iteration>
<Iteration_iter-num>3</Iteration_iter-num>
<Iteration_query-ID>lcl|3_0</Iteration_query-ID>
<Iteration_query-def>G383C4U01EQA0A length=197</Iteration_query-def>
<Iteration_query-len>197</Iteration_query-len>
... (9 Replies)
Hello,
I have got one file with more than 120+ million records(35 GB in size). I have to extract some relevant data from file based on some parameter and generate other output file.
What will be the besat and fastest way to extract the ne file.
sample file format :--... (2 Replies)
I have a very long string (millions of characters).
I have a file with start location and length that is thousands of rows long:
Start Length
5 10
16 21
44 100
215 37
...
I'd like to extract the substring that corresponds to the start and length from each row of the list:
I tried... (7 Replies)
Hi all,
I am working on a shell script to extract information from a file that has output from Oracle sqlplus. The problem is that the output of a single line is spread across multiple lines and i do not know as how to extract the particular filed at ones,which spans multiple lines.... (2 Replies)
hi all, i am quite new with Perl (just 1 week of experience) and i am suppose to understand the usage of library, which i can't, anyway...
i came across this library...i think from the linux redhat redhat.linux.lib.pl, there are a couple of functions there that can be used to retrieve information... (3 Replies)