Hello I'm Try read two patterns in a file in only line
example:
bla bla bla pattern 1 with space content content content pattern 2 with space bla bla bla
I'm tried used
cat file.asc | awk '/pattern 1 with space/,/pattern 2 with space/' > test.txt
but don't work
I need save two patterns test.txt:
content
content
content