HP3000-L Archives

November 1997, Week 3

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:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Mon, 17 Nov 1997 17:22:48 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
>> turns out that there are control and escape characters and carriage
>> returns in the middle of the records (bad data).  When it is sent to the
>> HP9000, FTP assumes that these characters are the end of the records,
>> causing problems on the 9000.  Any way around this?  FCOPY to tape isn't
...
>Suggest you use a binary transfer, then use 9000 utiliting like sed to clean
>up or restructure the file.

I have also found the Unix command "fold" useful when transferring record
oriented files with binary ftp. It inserts line breaks at given intervals but
might probably get "confused" if the raw file already contains LF characters.
So it might be useful to "sanitize" the "bad bytes" using the "tr" command
to translate them to something more reasonable first (tr "\012" "x" <a >b).

Lars.

ATOM RSS1 RSS2