Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!apple!oliveb!orc!mipos3!iwarp.intel.com!news From: merlyn@iwarp.intel.com (Randal Schwartz) Newsgroups: comp.unix.questions Subject: Re: ^M 's in uploaded text files. Keywords: Help! Message-ID: <1990Feb1.193031.11699@iwarp.intel.com> Date: 1 Feb 90 19:30:31 GMT References: <5622@udccvax1.acs.udel.EDU> <1990Feb1.164704.23581@athena.mit.edu> Sender: news@iwarp.intel.com Reply-To: merlyn@iwarp.intel.com (Randal Schwartz) Distribution: usa Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 17 In-Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) In article <1990Feb1.164704.23581@athena.mit.edu>, jik@athena (Jonathan I. Kamens) writes: | tr -d "\012" < filename > filename.new Bzzzt. Can't combine that sorta quoting. tr will get '012' as an argument, not '\012', so what you wanted was either: "\\012" or '\012' Durn shell quotes. :-) Just another oft-quoted source, -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\ | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn | \=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/