ot - I need a geek (regexps or similar)
Posted: Sun Jan 07, 2007 2:50 pm
Hello, Forum!
I've got a small problem.
I'm writing an essay for school(uni) and I want to do the typesetting in (Te)TeX, cos it renders things all lovely, and I need to put a few arabic words in there and TeTeX, well, renders Arabic transliteration all lovely:)
I've just written plain text files, but now I need to do some pattern replacements for my footnotes. Basically in my text files I've got the pattern (NOTE: ...text...) which I need to replace with \footnote{...text...}.
I know I can do this with regexps in my editor easier than standard search & replace, but I'm not sure exactly how it works.
I've got Unix sed and awk and what have ye as well, but I don't know how to use them.
If anyone could give me some pointers, I'd be much full of grate.
Tar,
Paws
I've got a small problem.
I'm writing an essay for school(uni) and I want to do the typesetting in (Te)TeX, cos it renders things all lovely, and I need to put a few arabic words in there and TeTeX, well, renders Arabic transliteration all lovely:)
I've just written plain text files, but now I need to do some pattern replacements for my footnotes. Basically in my text files I've got the pattern (NOTE: ...text...) which I need to replace with \footnote{...text...}.
I know I can do this with regexps in my editor easier than standard search & replace, but I'm not sure exactly how it works.
I've got Unix sed and awk and what have ye as well, but I don't know how to use them.
If anyone could give me some pointers, I'd be much full of grate.
Tar,
Paws