Re: [OT] How to extract certain column
man cut. On Sat, 9 Jun 2012, lina wrote:
> Hi,
>
> Sorry for off-topic, but I do need some suggestions now,
>
> Here it's
>
> # RAAADUE AA STBBCCCRE BP1 BP2 ACC N-H-->O O-->H-N
> N-H-->O O-->H-N TCO KAPPA DDPHA PAI PZI X-CA Y-CA
> Z-CA
> 1 174 V 0 0 0 0, 0.0 11,-0.3 0,
> 0.0 9,-0.1 0.000 360.0 360.0 360.0 155.8 21.7 42.5 31.0
> 2 175 H - 0 0 0 9,-2.2 7,-0.7
> 1,-0.1 2,-0.1 -0.345 360.0-101.3 -55.9 135.5 19.9 41.2 27.8
>
>
> What if I only interested what under the N-H-->0?
>
> How to took this column out.
>
> It doesn't have a fixed Field No, (not matter from the left or right).
> So I don't know how to get it by awk.
>
> Thanks very much,
>
> Best regards,
>
>
>
----------------------------------------------------------------
Jude <jdashiel-at-shellworld-dot-net>
<http://www.shellworld.net/~jdashiel/nj.html>
Reply to: