I have a log file with format
id operation
id success message
The second id is same as the first, but if only the the operation is successful. How can I get these two lines from the log to a new file?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
it’s primative but you could do something like this quite easily:
This creates a list of id’s that appear more than once (assuming a space is the right delimeter) then puts all lines beginning with those id’s into a new file.