[Info-vax] *.xml files - carriage return's go into file in VMS - how to remove CR's?
Chuck Aaron
caaron at ceris.purdue.edu
Fri Mar 27 11:30:50 EDT 2009
Since we have a lot of these *.xml text files, is there
a command file with convert commands that will work on
a large number of files quicker?
Thanks,
Chuck
VAXman- @SendSpamHere.ORG wrote:
> 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
>
>
More information about the Info-vax
mailing list