Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #28512

Re: "\x1337\xcafe"?

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.c
Subject Re: "\x1337\xcafe"?
Date 2012-11-20 18:29 -0500
Organization A noiseless patient Spider
Message-ID <50AC124F.8030400@verizon.net> (permalink)
References <86vcd284km.fsf@gray.siamics.net> <ln1ufqggn1.fsf@nuthaus.mib.org> <J6pqs.444779$9D6.333107@fx27.am4> <slrn3vfskak8cu.5vp.ike@sverige.freeshell.org> <sjdtn9-dt5.ln1@jones.homeip.net>

Show all headers | View raw


On 11/20/2012 05:42 PM, lawrence.jones@siemens.com wrote:
> Ike Naar <ike@sverige.freeshell.org> wrote:
>> On 2012-11-19, BartC <bc@freeuk.com> wrote:
>>> "Keith Thompson" <kst-u@mib.org> wrote in message 
>>> news:ln1ufqggn1.fsf@nuthaus.mib.org...
>>>> Ivan Shmakov <oneingray@gmail.com> writes:
>>>
>>>>> I wonder what do the specifications say on this matter?
>>>> [...]
>>>>
>>>> It's not hard to find out.
>>>>
>>>> http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
>>>
>>> It is without a page number! That document has 700 pages.
>>
>> Fortunately it also has a table of contents.
> 
> And an index.

All of which can be quite useless to someone unfamiliar with the
document who's uncertain what words the standard uses in connection with
the relevant rule.

For the record, the relevant grammar rule is in 6.4.5, "String
literals", paragraph 1 on page 70. However, the key part of that rule is
"escape sequence", and you need to go back to 6.4.4.4p1 to learn the
specific grammar rules for escape sequences that actually explain this
behavior.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

"\x1337\xcafe"? Ivan Shmakov <oneingray@gmail.com> - 2012-11-19 13:55 +0700
  Re: "\x1337\xcafe"? Nobody <nobody@nowhere.com> - 2012-11-19 07:39 +0000
  Re: "\x1337\xcafe"? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-11-19 07:57 +0000
  Re: "\x1337\xcafe"? Keith Thompson <kst-u@mib.org> - 2012-11-19 00:07 -0800
    Re: "\x1337\xcafe"? "BartC" <bc@freeuk.com> - 2012-11-19 11:55 +0000
      Re: "\x1337\xcafe"? Ike Naar <ike@sverige.freeshell.org> - 2012-11-19 12:10 +0000
        Re: "\x1337\xcafe"? lawrence.jones@siemens.com - 2012-11-20 17:42 -0500
          Re: "\x1337\xcafe"? James Kuyper <jameskuyper@verizon.net> - 2012-11-20 18:29 -0500
    Re: "\x1337\xcafe"? Ivan Shmakov <oneingray@gmail.com> - 2012-11-19 20:08 +0700
    Re: "\x1337\xcafe"? Robert A Duff <bobduff@shell01.TheWorld.com> - 2012-11-23 19:52 -0500
      Re: "\x1337\xcafe"? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-11-24 02:34 +0000
      Re: "\x1337\xcafe"? James Kuyper <jameskuyper@verizon.net> - 2012-11-24 11:31 -0500
      Re: "\x1337\xcafe"? Keith Thompson <kst-u@mib.org> - 2012-11-24 12:08 -0800
  Re: "\x1337\xcafe"? BGB <cr88192@hotmail.com> - 2012-11-19 02:08 -0600
    Re: "\x1337\xcafe"? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-11-19 15:31 +0000
      Re: "\x1337\xcafe"? BGB <cr88192@hotmail.com> - 2012-11-19 11:54 -0600

csiph-web