Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!math.fu-berlin.de!grasp1!wolf From: wolf@grasp1.univ-lyon1.fr (Christophe Wolfhugel) Newsgroups: comp.unix.questions Subject: Re: unwanted control characters in downloads Message-ID: <1991Apr10.165508.20237@grasp1.univ-lyon1.fr> Date: 10 Apr 91 16:55:08 GMT References: <1991Apr9.195318.18030@rodan.acs.syr.edu> Organization: INSA Departement Informatique, Lyon, France Lines: 19 In article <1991Apr9.195318.18030@rodan.acs.syr.edu> ldstern@rodan.acs.syr.edu (Larry Stern) writes: >To all: when I download certain files from a Sun/4 (running SunOS 4.1), such >as a 'man' file, my files contain all the _^H and other sequences used in >that file. Is there an easy way to eliminate this? One solution could be to use vi to replace these characters: vi the_file :1,$s/.^H//g ^H can be obtained by pressing Ctrl+V and then Ctrl+H. The dor before ^H indicates that any character before the ^H will also by replaced by null string. Hope this helps. -- Christophe Wolfhugel (on irc: Zolf) | Email: wolf@grasp1.univ-lyon1.fr INSA Lyon - Departement Informatique | "Lapalisse au bordel: la duree de" 69621 Villeurbanne Cedex | "l'attente est fonction de la longueur" France | "de la queue."