|
It is because Microsoft "embraced and extended" end of lines. Unix only uses one character to end lines (either LF or CR ... can not recall). Goofy assed MS uses CRLF to denote end of line. If you open the unix text file in wordpad, it handles the the unix style correctly. Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Dan Bale" <dbale@samsa.com> To: <midrange-l@midrange.com> Sent: Thursday, February 14, 2002 1:34 PM Subject: Unix file to PC, weird LF-CR > Anybody know about how Unix does Line Feeds and Carriage Returns? We've got > a file from a Unix system that we want to load to the 400. On our Windoze > PC, the "records" of data all show up on one line. I recognize that this is > a stream file, but there's a funny looking character at the end of each > "record". If I can determine the hex value of that LF-CR character, is > there a way to import the stream file from the PC to an AS400 file on a V3R2 > system that does not have Client Access? > > TIA, > - Dan Bale > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.