Search Results

Search: Posts Made By: Mubby
28,357
Posted By Mubby
So basically...
[1]
So basically you're saying that given

\emph{ alpha }

where alpha is any arbitrary string of characters (including newlines), you wish to replace it with

alpha

correct?

[2]
Do you...
3,299
Posted By Mubby
Looks good
$ awk '/fasta$/{split($NF,m,".");printf m[1]}/SCORE/{printf " %s\n",$4}' the_file

100 0.6043
101 0.8360
103 0.8705




Please use code tags, thank you
3,299
Posted By Mubby
??
I ran that:
$ awk '/fasta$/{split($NF,m,".");printf m[1]}/SCORE/{printf " %s\n",$3}' the_file

100 4.145
101 2.665
103 3.665
3,299
Posted By Mubby
Here's custom AWK script
I just tested using GNU gawk, and it worked for me.
awk -f awk_parser.awk the_file

I'm new to this forum and editor, so it may not tab-align properly, but this worked for me:
BEGIN {

...
Showing results 1 to 4 of 4

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