using awk to print lines from one match through a second instance of a separate match – unix.stackexchange.com

I have one requirement. Let’s say my file contents are a b c d e f d e f I want to print the lines from b to 2nd time repeated d. Is there any command using awk to do this? Output should be b c d ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "using awk to print lines from one match through a second instance of a separate match – unix.stackexchange.com"