Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!cernvax!chx400!ethz!iis!kells From: kells@iis.UUCP (Kevin Kells) Newsgroups: comp.unix.questions Subject: what does \e do in :s/./\e&/ in vi? (was: merging 2 files) Message-ID: <4381@iis.UUCP> Date: 6 May 90 13:59:12 GMT References: <1990May5.193350.3445@chinet.chi.il.us> Reply-To: kells@iis.ethz.ch (Kevin Kells) Organization: Numerical Simulations Group, ETH/IIS Zurich Lines: 17 Summary: In article <1990May5.193350.3445@chinet.chi.il.us> les@chinet.chi.il.us (Leslie Mikesell) writes: > :%s/.*/& \L&/ >will do exactly what you ask, A little experimentation (didn't use source) proved that there are at least three such \? "commands" that can be used in this substitution context. Two I understand: \l (not \L) and \u, which convert upper case to lower case and vice versa, respectively. But a third, \e, also seems to do something, though I can't figure out what. Is this documented somewhere [besides in the source :-) ] ? Could someone please tell me what \e does in this context? Thanks, Kevin