Results 1 to 1 of 1
Hi all,
I have a latex file and I want to replace all occurences of \eng{<utf8 characters>} with <utf8 characters>, that is remove the tex command with its delimiters \eng{} ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-11-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 3
help with sed
Hi all,
I have a latex file and I want to replace all occurences of \eng{<utf8 characters>} with <utf8 characters>, that is remove the tex command with its delimiters \eng{} which is around some text. I tried
sed 's/\eng{[:alpha:]}/&/g' input.tex > output.tex
but does not work at all while
sed 's/\eng//g' input.tex > output.tex
does only remove the \eng{, leaving the trailing } after the text. Any help would be appreciated!
filimon


Reply With Quote
