I\'ve got a bunch of files that have sentences ending like this: \\@.Next sentence. I\'d like to insert a space after the period.
\\@.Next sentence
Not all occurrences of
The right command should be this:
sed -i.bak -E "s/\\\@.(\S)/\\\@. \1/g" *.tex
Whith it, you match any \@ followed by non whitespace (\S) and insert a whitespace (what is made by replacing the whole match with '\@ ' plus the the non whitespace just found).
\@
\S
'\@ '