tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMERY: special charcter "^M"
@ 1996-09-19  9:43 Ran Zahor
  0 siblings, 0 replies; only message in thread
From: Ran Zahor @ 1996-09-19  9:43 UTC (permalink / raw)
  To: tru64-unix-managers

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@wiztec.co.il
 Wiztec Solutions Ltd              | Phone : (972)-9-526737 
 39 Hagalim Boulevard, P.O.B 2062  | Fax   : (972)-9-598744
 Herzlia 6120 ,  Israel            | 
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-19  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-19  9:43 SUMMERY: special charcter "^M" Ran Zahor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox