how do you use sed to output only lines which contain odd numbers which themselves contain an even digit assuming that each line only contains a number.
E.G.
seq 1000 | sed ...
Output ends with:
.
.
.
963
965
967
969
981
983
985
987
989
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.
This is essentially using sed to emulate grep. More direct, then: