SUMMERY: special charcter "^M"

From: Ran Zahor <ran_at_wiztec.co.il>
Date: Thu, 19 Sep 1996 11:43:30 +0200

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("<line>\r\n"); or printf("<line>\015\n");

       \r or \015 inserts the ^M.

 regards,

 All above opinions are personal, unless stated otherwise.
-----------------------------------------------------------------
 Ran Zahor - UNIX System Support | Email : ran_at_wiztec.co.il
 Wiztec Solutions Ltd | Phone : (972)-9-526737
 39 Hagalim Boulevard, P.O.B 2062 | Fax : (972)-9-598744
 Herzlia 6120 , Israel |
-----------------------------------------------------------------
Received on Thu Sep 19 1996 - 12:06:00 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT