Hi,
I've a text file like
ABC,,100
A,100,200
In the above example, I have 3 columns. I want to extract the second column.
I'm expecting a value like
100
i.e first record will not have any value but still it has to give me null value. second record should give 100.
Can anybody... (2 Replies)
I am trying to select a column using a search term.
My input file looks like this (tab delimited):
ABC BJS FDG GHH DGH DFG GHF
95 456 5 266 87 4567 67
3 54 678 4567 45 6 36
232 55 3 5 6 8 34
cat filename | awk '{print $2}'above code will give me the second column. However, what I want... (2 Replies)
I would like to extract the last column of a text file but different rows of the text file have different numbers of columns. How do I go about doing that? Thanks! (1 Reply)
Hi, I want to extract rows that have specific characters at a certain column. It might be best to show you my problem.
So my tab delimited file looks like this:
YPR161C 10 16 864445 866418 - Verified 3.558
YOL138C 6 15 61325 65350 - Verified 0.6... (1 Reply)
I have a line from table space report:
5 135_TT ms Normal 1774336.0 1774208.0 761152.0 1013056.0 57.1%
Now I have to get 1013056.0 as o/p.
For this I tried cut -f32 -d" " previously it worked now it is showing empty space.
Suggest me the best code for this which... (1 Reply)
Please help with this.. my file sizes exceed 40GB,,not possible to do manually.
I have a string in the 2nd column that has strings like 5M108N31M, 3S2M100N45M4S etc..the first column is a number.
There can be 0,1 or 2 number of S but only 1,2 Ms and only 1 N.
S only occurs at the... (4 Replies)
I have the file like this:
Timestamp URL Text 1331635241000 http://example.com Peoples footage at www.test.com,http://example4.com 1331635231000 http://example1.net crack the nuts http://example6.com 1331635280000 http://example2.net ... (0 Replies)
Dear folks
I have a large data set which contains 400K columns. I decide to select 50K determined columns from the whole 400K columns. Is there any suggested fortran program which could do this process for me? I need to also mention that I store all of the columns id in one file which may help... (1 Reply)