Help ID characters
Jim Asman
jlasman at telus.net
Tue Dec 7 11:45:14 PST 2004
--------------- Original Message ---------------
At 02:30P Tue Dec 07 2004, Jean-Pierre A. Radley wrote:
> Brian K. White propounded (on Tue, Dec 07, 2004 at 02:14:25PM -0500):
> | From: "Lerebours, Jose" <Jose.Lerebours at EagleGL.com>
> | >SCO UNIX based ...
> | >
> | >Trying to use import ascii to read and process EDI file. Client
> | >sent me file which has
> | >
> | >a) when I cat file <85> between data blocks
> | >b) when I vi file \20 between data blocks
> | >
> | >I've tried using \20 as field and record delimiter
> | >but it wont take.
> | >
> | >
> | >What do you think I should use?
> |
> | The "cat" comment above makes no sense, but the vi does, and based on
that,
> | octal 20 = decimal 16, thus:
> |
> | chr("16")
>
> Chr("16") is Control-P, and in vi, it looks like ^P, not like \20.
>
> So I, for one, still don't know what Jose is looking at.
>
> Jose, run the file through less. What then?
Why not run it through 'hd' and remove all doubt?
Jim
--
jlasman at telus.net Spectra Colour Services Ltd.
Jim Asman 10221 144A Street
Phone: (604)584-0977 Surrey, BC V3R 3P7
Cell: (604)619-0977 CANADA
More information about the Filepro-list
mailing list