Article View: comp.sys.mac.apps
Article #6930Re: Another MS-Word QUestion.....
From: Chaz Larson
Date: Thu, 24 Jan 1991 18:18
Date: Thu, 24 Jan 1991 18:18
56 lines
2524 bytes
2524 bytes
In article <1991Jan24.153219.29086@cs.dal.ca> paixao@ug.cs.dal.ca (Nuno M. Paixao) writes: |I have another question about MS-WORD. | |I find myself dowdloading ASCII files from here, USENET NEWS, and sometimes, | I would like to bring them into my word processor. Is there anyway to make | MS-WORD |strip out all the carriage return at the end of each line, and replace them | witha space. I would need to do this, so that for one thing, I could justify | my Well, here's how I do it. Imagine that this is our downloaded file, and that "@" is a carriage return marker as it would show up in Word. I have another question about MS-WORD.@ @ I find myself dowdloading ASCII files from here,@ USENET NEWS, and sometimes, I would like to bring@ them into my word processor. Is there anyway to make@ MS-WORD strip out all the carriage return at the end@ of each line, and replace them witha space.@ @ Any suggestions?@ @ OK, notice that there are two "@" between each paragraph and just one at the end of each line. Using the "change" command, change all occurences of two carriage returns in a row to something that will never occur naturally in the document, like ")(*&". In WordSpeak, you would change all ^p^p to )(*& . Now, change all single carriage returns to spaces: Again, in WordSpeak: change all ^p to . Finally, change all ")(*&" to carriage returns. change all )(*& to ^p . Of course, if you want to keep the headers intact, you'll have to add a few more returns in there, as the above method will treat the USENET article header as one paragraph and strip all the returns out of it. Alternatively, you could select the first paragraph, change all ^p to space, and repeat this for each paragraph in the document, bypassing the )(*& nonsense entirely. This will take longer, however. chaz -- Someone please release me from this trance. clarson@ux.acs.umn.edu AOL:Crowbone
Technical Details
Message-ID:
<3113@ux.acs.umn.edu>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uunet!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!news.cs.indiana.edu!msi.umn.edu!cs.umn.edu!ux.acs!clarsonReferences:
<1991Jan24.153219.29086@cs.dal.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uunet!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!news.cs.indiana.edu!msi.umn.edu!cs.umn.edu!ux.acs!clarson From: clarson@ux.acs.umn.edu (Chaz Larson) Newsgroups: comp.sys.mac.apps Subject: Re: Another MS-Word QUestion..... Message-ID: <3113@ux.acs.umn.edu> Date: 24 Jan 91 18:18:56 GMT References: <1991Jan24.153219.29086@cs.dal.ca> Reply-To: clarson@ux.acs.umn.edu (Chaz Larson) Organization: Iron City, USA Lines: 56