RosettaCodeData/Task/String-matching/Sed/string-matching-2.sed
2023-07-01 13:44:08 -04:00

1 line
31 B
Sed

N;/.*\(.*\).*\n\1$/!d;s/\n.*//