public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Matt D." <matt@codespunk.com>
To: cygwin-xfree@cygwin.com
Subject: Re: -displayfd outputting some garbage?
Date: Wed, 08 Feb 2017 01:02:00 -0000	[thread overview]
Message-ID: <589A6E11.8060704@codespunk.com> (raw)
In-Reply-To: <589A6A71.4000703@gmail.com>

This is causing issues where I try to perform:

echo $(cat .display)

Which results in:

bash: warning: command substitution: ignored null byte in input
0


Matt D.

On 2/7/2017 7:46 PM, Matt D. wrote:
> I have an xinit script which outputs the display id to a file with the
> following option:
>
> xinit .. -displayfd 3 3>$HOME/.display
>
> This outputs correctly '0' but appends 0x00 and 0x0A. Why is it
> outputting a null byte and this 0x0A?
>
>
> Matt D.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


       reply	other threads:[~2017-02-08  1:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <589A6A71.4000703@gmail.com>
2017-02-08  1:02 ` Matt D. [this message]
2017-02-09  0:44   ` Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=589A6E11.8060704@codespunk.com \
    --to=matt@codespunk.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).