Answer: Uploading and Trailing M's
You can do this by creating a file containing the following line: tr -d '^M' <file1 >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 <filename--this one is the file you created in the first place>", and file2 will be the same as file but without the ^M's. P.S. Sorry for the confusing instructions. My excuse: I'm tired. ;) ___ _ _a' /( <. Simon Bradley, Knight Protector! / __><_>._ _ _ ___ ._ _ ~~ _}\ \( _ ) E-mail: syb...@aber.ac.uk \__ \| || ' ' |/ . \| ' | \(._(.)' Finger: syb...@osfb.aber.ac.uk <___/|_||_|_|_|\___/|_|_| ._>. _>. WWW: http://www.aber.ac.uk/~syb3/ On 11 Jan 1995, Daniel Au wrote: > Is there any way to remove the trailing ^M's instead of doing it by hand, > which is what I'm doing now? Sometimes, if the file is long, it can be > _tremendously_ frustrating. Any help would be appreciated.
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,fdff6929bbc2b6a1 X-Google-Attributes: gidf996b,public X-Google-Thread: fbb9d,fdff6929bbc2b6a1 X-Google-Attributes: gidfbb9d,public X-Google-ArrivalTime: 1995-01-12 04:37:34 PST Path: nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!ub4b!EU.net!Germany.EU.net! howland.reston.ans.net!news.sprintlink.net!sashimi.wwa.com!not-for-mail From: Brad <syb...@aber.ac.uk> Newsgroups: alt.ascii-art,rec.arts.ascii Subject: Answer: Uploading and Trailing M's Date: 11 Jan 1995 18:04:00 -0600 Organization: University of Wales - Abwiswis - Prifysgol Cymru Lines: 24 Sender: bob...@gagme.wwa.com Approved: bob...@wwa.com Message-ID: <3f1rlg$7h...@gagme.wwa.com> References: <950...@sfa.sfa.ope.ed.gov> <3f01ta$im...@gagme.wwa.com> NNTP-Posting-Host: gagme.wwa.com Xref: nntp.gmd.de alt.ascii-art:18889 rec.arts.ascii:3553
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 1995 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.