Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!vsi1!rick From: rick@vsi1.UUCP (Rick Schneider) Newsgroups: comp.unix.questions Subject: Re: tabs converted to spaces? Message-ID: <841@vsi1.UUCP> Date: 21 Jul 88 05:04:49 GMT References: <3940001@hpgrla.HP.COM> Organization: VICOM Systems Inc., San Jose, CA Lines: 16 From article <3940001@hpgrla.HP.COM>, by douglasg@hpgrla.HP.COM (@Douglas Genetten): > Is there a filter which converts tabs to n-spaces throughout > a file? > Try the translate filter: tr '\11' '\40' < input_file > output_file this will map a tab to one space (a \11 is the tab character and the \40 is the space character) -- Rick Schneider ...pyramid!vsi1!rick VICOM SYSTEMS, INC.; 2520 Junction Avenue, San Jose, Ca, 95134, (408) 432-8660 The opinions expressed are not those of my employer or are they?