[Info-vax] *.xml files - carriage return's go into file in VMS - how to remove CR's?
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Fri Mar 27 12:24:15 EDT 2009
In article <gqiodo$uhh$1 at mailhub227.itcs.purdue.edu>, Chuck Aaron <caaron at ceris.purdue.edu> writes:
>$ dir/full abw_from_msword.xml
>
>Directory USER$DISK:[PXZA003]
>
>ABW_FROM_MSWORD.XML;1 File ID: (80080,16,0)
>Size: 34/36 Owner: [EXCERPT,PXZA003]
>Created: 27-MAR-2009 09:56:57.02
>Revised: 27-MAR-2009 09:56:57.49 (1)
>Expires: <None specified>
>Backup: <No backup recorded>
>Effective: <None specified>
>Recording: <None specified>
>Accessed: <None specified>
>Attributes: <None specified>
>Modified: <None specified>
>Linkcount: 1
>File organization: Sequential
>Shelved state: Online
>Caching attribute: Writethrough
>File attributes: Allocation: 36, Extend: 0, Global buffer count: 0
> Version limit: 1
>Record format: Variable length, maximum 0 bytes, longest 16843 bytes
>Record attributes: Carriage return carriage control
>RMS attributes: None
>Journaling enabled: None
>File protection: System:RWED, Owner:RWED, Group:RE, World:
>Access Cntrl List: None
>Client attributes: None
>
>Total of 1 file, 34/36 blocks.
>
>VAXman- @SendSpamHere.ORG wrote:
>> In article <gqimi3$tka$1 at mailhub227.itcs.purdue.edu>, Chuck Aaron <caaron at ceris.purdue.edu> writes:
>>> Can anyone help me with how to search/repl or convert the
>>> file to eliminate the carriage returns in the xml
>>> file in VMS?
>>
>> Post a $ DIRECTORY/FULL of the file in question.
>>
Looks like a normal text file. Try using the editor to delete them...
With EDT:
$ EDIT/EDT {your.file}
<GOLD>7
Command: DEFINE MACRO NOCR
<GOLD>7
Command: FIND=NOCR.
SUB/<GOLD>13<GOLD>3//WHOLE/NOTYPE
<GOLD>7
Command: FIND=MAIN.
<GOLD>7
Command: NOCR
<GOLD>7
Command: EXIT
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
http://www.quirkfactory.com/popart/asskey/eqn2.png
"Well my son, life is like a beanstalk, isn't it?"
More information about the Info-vax
mailing list