That looks like fixed-width data. Use unpack (I think the documentation for unpack templates is under pack.
You can also split on whitespace (so it seems), and take a slice of the 2nd and 6th items from the return list. But for fixed-column-width input, I would prefer the reliability of unpack.
Dave
In reply to Re: awk like question in perl
by davido
in thread awk like question in perl
by drock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |