Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Issues with setting variables to true or false: how does the compiler understands it Date: Tue, 27 Oct 2015 19:02:57 -0700 Organization: None to speak of Lines: 19 Message-ID: References: <75tp2bt23h0o4e81r8j4pvf0aqpafc5kis@4ax.com> <87si4wifhk.fsf@bsb.me.uk> <3f17ab8c-150b-47a2-ab76-03dc2a0b5091@googlegroups.com> <48b8f74a-d34b-4c8a-82f7-40522ed2cf16@googlegroups.com> <405bd34c-e92d-43e9-b0cc-ee60744267b4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="3509"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+K+iHaj+MPzY626QnfYbPb" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:5BBeUI5aaE0XBo4dBst4QfYbQLQ= sha1:kkO2CBBFMqRJ2Mh9/uPL45Wf4fU= Xref: csiph.com comp.lang.c:74031 Bartc writes: > On 27/10/2015 20:10, supercat@casperkitty.com wrote: [...] >> If a "grep" utility sees a line break where there isn't really supposed to >> be one, that's often less of a problem than having it be blind to anything >> on a line that follows a NUL. Code 1A is a bit of a nuisance, but I've >> seen more printer setup strings that use NUL than that use 1A. > > Then that's binary data and not text. It would be difficult to represent > a string of control codes anyway; and how would you edit them? Many editors (including both vim and emacs) are quite capable of editing files containing non-printable characters. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"