From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076339121564.tru64-unix-managers.marc@archive.invalid> From: Ran Zahor Date: Thu, 19 Sep 1996 09:43:30 +0000 To: tru64-unix-managers Subject: SUMMERY: special charcter "^M" X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076339121564 Warm thanks to all who answered my question: >Dear Managers, > >Does anyone know how in C program, I can add the special charcter "^M" >to the end of the line. Summary: Just do something like this: printf("\r\n"); or printf("\015\n"); \r or \015 inserts the ^M. regards, All above opinions are personal, unless stated otherwise. ----------------------------------------------------------------- Ran Zahor - UNIX System Support | Email : ran@wiztec.co.il Wiztec Solutions Ltd | Phone : (972)-9-526737 39 Hagalim Boulevard, P.O.B 2062 | Fax : (972)-9-598744 Herzlia 6120 , Israel | -----------------------------------------------------------------