Purely academic, but it upsets me.
I want to fix this text:
there there are are multiple lexical errors in this line line
using sed. I'm so far away:
sed 's/\([az][az]*[ ,\n][ ,\n]*\)\1/\1/g' < file.text
He corrects everything except the final double words!
there are multiple lexical errors in this line line
Can a sadovskiy guru explain why this does not apply to words at the end?
benjwy
source share