The \c escape

Colin Plumb plumbc at admin.ogc.edu
Mon Jun 20 14:46:14 AEST 1988


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 at admin.ogc.edu, posting from a friend's account)



More information about the Comp.std.c mailing list