🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5089

Re: The \c escape

#5089
From: Colin Plumb
Date: Mon, 20 Jun 1988 04:46
14 lines
1121 bytes
I'd like to endorse this proposal.  It has practical value, it breaks
nothing, and is not terribly hard to implement.

This would also be useful in long character constants, where I don't
think string pasting is allowed.

I would prefer '\ ' to '\c', since a non-alphanumeric character better
indicates the magicness of the escape, and ' ' is as close to the
"nothing" meaning of the escape as printable ASCII can get.

Again, it is a useful, trivial change.  I shall certainly hack it
into the next C compiler I get.
-- 
	-Colin (plumbc@admin.ogc.edu, posting from a friend's account)
Technical Details
Message-ID: <1719@ogcvax.ogc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!bbn!rochester!cornell!batcomputer!itsgw!steinmetz!uunet!littlei!ogcvax!plumbc
References: <haddock.4604>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!bbn!rochester!cornell!batcomputer!itsgw!steinmetz!uunet!littlei!ogcvax!plumbc
From: plumbc@admin.ogc.edu (Colin Plumb)
Newsgroups: comp.std.c
Subject: Re: The \c escape
Summary: YES
Message-ID: <1719@ogcvax.ogc.edu>
Date: 20 Jun 88 04:46:14 GMT
References: <haddock.4604>
Sender: roginski@ogcvax.ogc.edu
Reply-To: plumbc@admin.ogc.edu (Colin Plumb)
Organization: Oregon Graduate Center, Beaverton, OR
Lines: 14