Getting n-th line of text output

Posted by syker on Stack Overflow See other posts from Stack Overflow or by syker
Published on 2010-04-08T17:06:15Z Indexed on 2010/04/08 17:13 UTC
Read the original article Hit count: 213

Filed under:

I have a script that generates two lines as output each time. I'm really just interested in the second line. Moreover I'm only interested in the text that appears between a pair of #'s on the second line. Additionally, between the hashes, another delimiter is used: ^A. It would be great if I can also break apart each part of text that is ^A-delimited (Note that ^A is SOH special character and can be typed by using Ctrl-A)

© Stack Overflow or respective owner

Related posts about linux