I want to capture a string 1 row affected... But problem is there are no of such string present in the same file.
1 row affected..
My concern to capture 1 row affecte
1 row affecte
perl -e 'while (<>) { if (/job completed successfully/) { $flag=1; } elsif (/1 row affected/) { print; } else { $flag=0; } }'