Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Carriage returns in text files?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00305000
Message ID:
00305007
Vues:
31
>Hi everyone
>
>We are sending a text file to a customer running a UNIX machine (yuk) and they seem to have a problem with a ^M character at the end of each line (I think that this is the carriage return?). Does anyone know how I can strip out this character so it doesn't cause them heartache?
>
>Thanks
>
>Chris Kable
>FuelTrac

Hi Chris,

Win/Dos uses a CR and LF for a record terminator and Unix uses just a LF. That's why you have extra CR's in the text. I'm not sure how you are creating the text file so I can't help with the creation but on most unix systems there is a command that will convert the format. On SCO Unix it is dtox. There are also various DOS shareware utilities to do the same chaek www.winfiles.com. I use to have one I think was called called Nortex.exe
Alan Trosky
MIS Director
Pennsylvania Bar Association
Harrisburg PA 17108
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform