From: Ran Zahor <ran () wiztec ! co ! il>
To: tru64-unix-managers
Subject: SUMMERY: special charcter "^M"
Date: Thu, 19 Sep 1996 09:43:30 +0000 [thread overview]
Message-ID: <96076339121564.tru64-unix-managers.marc@archive.invalid> (raw)
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 |
-----------------------------------------------------------------
reply other threads:[~1996-09-19 9:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox