Export file and the use of Append -a

Dennis Malen dmalen at malen.com
Thu Oct 14 12:44:54 PDT 2004


Ken,

Do you mean that neither "\n" or chr("10") is necessary or that chr("10") is
necessary to get a carriage return or new line?

Dennis
----- Original Message -----
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Bob Stockler" <bob at trebor.iglou.com>
Cc: <filepro-list at lists.celestial.com>
Sent: Thursday, October 14, 2004 3:43 PM
Subject: Re: Export file and the use of Append -a


> Bob Stockler wrote:
> [...]
> >   Then: fi = "/tmp/fixed_length_ascii.txt"
> >   Then: export ascii out=(fi) -a
> >   Then: out(1) = 1 & 3 & 5 & 10 & 12 & "\n"
>
> ITYM:
>
>    Then: out(1) = 1 & 3 & 5 & 10 & 12 & chr("10")
>
> (Unless you want the literal backslash-en to be exported?)
>
> [...]
> > On Windows you'd want to end the assignment to out(1) with:
> >
> >   & "\r" { "\n".
>
> Not necessary, as EXPORT ASCII already does the NL-->CRLF translation,
> just as IMPORT ASCII does CRLF-->NL.
>
> --
>
+-------------------------+--------------------+----------------------------
-+
> | Kenneth J. Brody        | www.hvcomputer.com |
|
> | kenbrody/at\spamcop.net | www.fptech.com     | #include
<std_disclaimer.h> |
>
+-------------------------+--------------------+----------------------------
-+
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>



More information about the Filepro-list mailing list