X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fbb9d,fdff6929bbc2b6a1 X-Google-Attributes: gidfbb9d,public X-Google-Thread: f996b,fdff6929bbc2b6a1 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 1995-01-17 05:27:56 PST Path: nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!ub4b!EU.net!howland.reston.ans.net!news.sprintlink.net!sashimi.wwa.com!not-for-mail From: noddy@desire.apana.org.au (Reagan Blundell) Newsgroups: alt.ascii-art,rec.arts.ascii Subject: Answer: Uploading and Trailing M's Date: 16 Jan 1995 18:54:34 -0600 Organization: Desire -APANA-Brisbane- Lines: 27 Sender: boba@gagme.wwa.com Approved: boba@wwa.com Message-ID: <3ff4ga$dsq@gagme.wwa.com> References: <9501101909.aa24584@sfa.sfa.ope.ed.gov> <3f01ta$im4@gagme.wwa.com> <3f1rlg$7ho@gagme.wwa.com> NNTP-Posting-Host: gagme.wwa.com Xref: nntp.gmd.de alt.ascii-art:19045 rec.arts.ascii:3609 Brad (syb3@aber.ac.uk) wrote: > You can do this by creating a file containing the following line: > tr -d '^M' file2 > where ^M is actually a ctrl-M (you can create these in vi by hitting ^V > followed by ^M), file1 is the original filename, and file2 is the file to > be created. Then type, from UNIX, "source you created in the first place>", and file2 will be the same as file but > without the ^M's. tr -d '\r' file2 will do the same thing. '\r' is the escape code for ^M, and doesnt require any special way of entering it into an editor apart from just typing it. -- Reagan Blundell | "I'm lying on my back now noddy@desire.apana.org.au | the stars look all too near APANA Brisbane Regional | flowers on the razor wire Management Committee | I know you're here" - Andrew Eldritch