return previous line of all matches – unix.stackexchange.com

I need to take the multi-line output of a program, match a string, and return the previous line of all matches. An example of the output of the program: $ jack_lsp -p firewire_pcm:analog-1_out ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "return previous line of all matches – unix.stackexchange.com"