Subject: | |
From: | |
Reply To: | |
Date: | Thu, 25 Feb 1999 03:31:07 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 2/24/99 11:21 PM +0000, Stefano wrote:
>I have a pipe delimited file that I wish to convert to fix format. This
>file is large and will only get bigger so downloading to speadsheet is
>not an option. Changing the source program is also not an option
>because the program exists on an as400 and no one here knows how to
>tweak it. I would like to use a simple tool like suprtool, but i am not
>sure how to approach it. Any one have any ideas?
On HP-UX, I'd consider using tbl|ntroff|col (with appropriate parameters of
course) to convert it to a tabular format. However, it seems that these
commands are not included in MPE's Posix implementation. I find their absence
from MPE moderately surprising. In their absence, I think Glenn Cole's
suggestion of awk or perl makes sense. Of course, another possibility would be
to write what seems like a reasonably simple custom program to do the job,
especially if "off the shelf" tools don't make the cut for performance or other
issues.
--
Jeff Woods
[log in to unmask] [PGP key available here via finger]
|
|
|