Why trigraphs? What happened to the DIgraphs?

Maarten Litmaath maart at cs.vu.nl
Tue Jun 21 02:39:02 AEST 1988


In article <4599 at haddock.ISC.COM> karl at haddock.ima.isc.com (Karl Heuer) writes:
\In article <1302 at ark.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
\>Why use trigraphs if digraphs are available?
\>	[ = .(
\>	] = .)
\
\Sorry, but ".)" is already a valid sequence in C code:  x=cos(1.)

My mistake, sorry indeed.

\If you're going to followup with an improved proposal, please note that there
\are nine characters ( #[\]^{|}~ ) to be handled.

The only digraph solutions I can think of, are the use of '$', '`' or '@';
however, isn't it strange that the latter, being such a wierd character,
is supposed to be available on every terminal?
-- 
South-Africa:                         |Maarten Litmaath @ Free U Amsterdam:
           revival of the Third Reich |maart at cs.vu.nl, mcvax!botter!ark!maart



More information about the Comp.std.c mailing list