2011-12-01 .,$g/title/s/\([A-Z\)/{1}/g Surrounds all capital letters with braces in lines matching /ti- tle/, from the current line until the end of the file. This one ed (or ex) command saved us an hour of work. The source of problem, however, had been bibtex. Either I never understood it well enough, or it's designed to narrow-minded. But as I'll use refer for my thesis, I don't care anymore. :-) I was told, that the above command can also be done with Eclipse in some way. Well, okay. I believe Eclipse can do everything that's possible, but its also magnitudes larger. Do use Eclipse for huge projects, but I'll go on criticizing any use of Eclipse for the 90% of small projects. To filter out non-ASCII characters: tr -d '\000-\177' (Note, that tr(1) doesn't accept input files on the command line, but only data on stdin. Reasons?) Searching for /[ -~]/ isn't too bad neither. http://marmaro.de/lue/ markus schnalke