User Tools

Site Tools


grep_surrounding_lines_in_aix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

grep_surrounding_lines_in_aix [2020/10/05 09:24]
admin created
grep_surrounding_lines_in_aix [2020/10/05 09:27] (current)
admin
Line 1: Line 1:
-test+To print 5 lines before and after error message (ORA-00904):
  
-  test+  awk -v dt=$(echo ORA-00904) '$0~dt{counter=5}counter>=0{print;counter--}' create_indx3_parallel.log
grep_surrounding_lines_in_aix.txt ยท Last modified: 2020/10/05 09:27 by admin