unix or win?

>From unix shell, execute uv. In this XML example, I create a header that
includes encoding, I sort a file with a PH phrase TOXML, sed removes header
details and then removes extra spaces. Then append that to the originl
header.



> sh

$ echo '<?xml version="1.0" encoding="ISO-8859-1"?>' > /tmp/myfile.xml

$ uv 'SORT MY.FILE MY.PH TOXML' | sed '1,5d;s/ = /=/g' >> /tmp/myfile.xml



Hope that gives you some ideas.

Cheers,

Stuart



-----Original Message-----

From:  "Mark Johnson"



I'm at the threshold of wanting (needing) to convert print jobs in the
&HOLD&

(or PEQS if you really must know) file into CSV's. This does not mean

re-generating the reports, rather digesting the held print job, identifying


the header, removing the redundant headers and identifying the column

positions into a CSV for obvious downstream purposes.



I'm half way through writing a parsing program and wondered if there were
any

other suggestions.



























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































**********************************************************************
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 
9269 7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**********************************************************************
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to