HP3000-L Archives

February 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jeff Woods <[log in to unmask]>
Reply To:
Jeff Woods <[log in to unmask]>
Date:
Thu, 25 Feb 1999 03:31:07 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
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]

ATOM RSS1 RSS2