Jump to content

Search in paragraph's text: Difference between revisions

No edit summary
Line 120:
awk -v ORS='\n----------------\n' '/Traceback/' RS="\n\n"
</lang>
Note : 1st awk is used to search for an expression (regular or not) within paragraphs, and 2nd awk is used for formatting
40

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.