Search Results

Search: Posts Made By: auratus42
5,554
Posted By auratus42
thanks... problem solve
thanks... problem solve
5,554
Posted By auratus42
thanks for your quick answer. Still doesn't...
thanks for your quick answer.

Still doesn't produce what I need. I have 725 records, in each record contein the match ORGANISM with 4 lines on each. I would like to have at the end 725 lines with...
5,554
Posted By auratus42
Hello, I tried but it didn't work. This is what...
Hello,
I tried but it didn't work. This is what I got:

Modification of a read-only value attempted at -e line 1, <> chunk 1.
5,554
Posted By auratus42
Hello, this is part of the file: ...
Hello,
this is part of the file:

ORGANISM Lates calcarifer
Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
Actinopterygii; Neopterygii; Teleostei;...
5,554
Posted By auratus42
Print lines after regex
Hello,

I need to print four lines inmediatly after the regexp, but not the line containing the regexp. The print should show the four lines together in one.

Thanks!
10,348
Posted By auratus42
Hello pmm, Thanks again for your help. I am...
Hello pmm,

Thanks again for your help. I am wondering what is the meaning of 'REC' in :

nawk ' { REC=""; for ( i = 40; i<=77; i++ ) REC=REC " " $i; print substr(REC,2) } ' <filename>

Cheers
10,348
Posted By auratus42
Thanks, it worked. I am going to check the - man...
Thanks, it worked. I am going to check the - man nawk
10,348
Posted By auratus42
Hi, this is the first LINE, I think the problem...
Hi, this is the first LINE, I think the problem is with the delimiter -d " ". In the original text file I have four spaces between the numbers (when I copied here shows only one space)

0.00000...
10,348
Posted By auratus42
Sorry, the outfile only have 10 columns and each...
Sorry, the outfile only have 10 columns and each column is only "0.0000" still another 29 columns like this before the data starts in the original file.
10,348
Posted By auratus42
Thanks, but 'cut' only give the first 40 columns...
Thanks, but 'cut' only give the first 40 columns and I want the columms after 40. I am going to check - man cut
10,348
Posted By auratus42
extracting multiple consecutive columns using awk
Hello,
I have a matrix 200*10,000 and I need to extract the columns between 40 and 77. I dont want to write in awk all the columns. eg: awk '{print $40, $41, $42,$43 ... $77}'. I think should exist...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 06:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy