I am not sure if I understand the question correctly, but if it is a
question of LF and CRLF between Unix & DOS, then you can do the
following on Unix:
 
# When a file is created on Unix, the default "end of line" character
is: LF or 0A or \012 or \n.
# To convert from Unix to DOS
 
awk '{printf "%s\r\n", $0}' inputfile > outputfile
 
# When a file is created on DOS, the default "end of line" character is:
CRLF or 0D0A or \015\012 or \r\n.
# To convert from DOS to Unix
 
tr -d '\r' < inputfile > outputfile
 
Hope this helps.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
bluejean405
Sent: Wednesday, March 28, 2007 11:17 AM
To: [email protected]
Subject: [EDI-L] Gentran 5.1 converting my files to UNIX rather than DOS



Has anyone had an issue like this:

We upgraded from 3.2 to 5.1 over the weekend. Since then, any files 
that come through our mailbox are converting to UNIX rather than DOS.

I have a program to manually convert them back, but is there a fix that 
anyone can help me with?

Thanks,
Jean



 


[Non-text portions of this message have been removed]



...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to