This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: -displayfd outputting some garbage?
- From: "Matt D." <matt at codespunk dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 7 Feb 2017 20:02:09 -0500
- Subject: Re: -displayfd outputting some garbage?
- Authentication-results: sourceware.org; auth=none
- References: <589A6A71.4000703@gmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: codespunk+cygwin at gmail dot 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/