Using awk or sed how can I select lines which are occurring between two different marker patterns? There may be multiple sections marked with these
awk
sed
perl -lne 'print if((/abc/../mno/) && !(/abc/||/mno/))' your_file