public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygcheck (64&32) output contains DOS line terminators
@ 2017-01-17 20:00 Brian Inglis
  2017-01-17 20:22 ` Marco Atzeri
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Inglis @ 2017-01-17 20:00 UTC (permalink / raw)
  To: cygwin

All cygcheck output seems to have DOS line terminators in both Cygwin 64 & 32.
Is this by design or just because it's a native Windows app?
It's annoying in command lines and scripts to have to strip the \r.

$ cygcheck -f /bin/find | cat -A
findutils-4.6.0-1^M$

$ cygcheck -p findutils > t; cat -A t
Found 7 matches for findutils^M$
busybox-debuginfo-1.23.2-1 - busybox-debuginfo: Debug info for busybox (installed binaries and support files)^M$
findutils-debuginfo-4.5.12-1 - findutils-debuginfo: Debug info for findutils (installed binaries and support files)^M$
findutils-debuginfo-4.6.0-1 - findutils-debuginfo: Debug info for findutils (installed binaries and support files)^M$
findutils-4.5.12-1 - findutils: Utilities for finding files--find, xargs, locate, updatedb (installed binaries and support files)^M$
findutils-4.5.12-1-src - findutils: Utilities for finding files--find, xargs, locate, updatedb (source code)^M$
findutils-4.6.0-1 - findutils: Utilities for finding files--find, xargs, locate, updatedb (installed binaries and support files)^M$
findutils-4.6.0-1-src - findutils: Utilities for finding files--find, xargs, locate, updatedb (source code)^M$

$ cygcheck --version
cygcheck (cygwin) 2.6.1
System Checker for Cygwin
Copyright (C) 1998 - 2016 Cygwin Authors
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ uname -srvmo
CYGWIN_NT-10.0 2.6.1(0.305/5/3) 2016-12-16 11:55 x86_64 Cygwin

$ uname -srvmo
CYGWIN_NT-10.0-WOW 2.6.1(0.305/5/3) 2016-12-16 11:50 i686 Cygwin

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cygcheck (64&32) output contains DOS line terminators
  2017-01-17 20:00 cygcheck (64&32) output contains DOS line terminators Brian Inglis
@ 2017-01-17 20:22 ` Marco Atzeri
  2017-01-17 20:52   ` Brian Inglis
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2017-01-17 20:22 UTC (permalink / raw)
  To: cygwin

On 17/01/2017 21:00, Brian Inglis wrote:
> All cygcheck output seems to have DOS line terminators in both Cygwin 64 & 32.
> Is this by design or just because it's a native Windows app?

second one

Regards
Marco


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cygcheck (64&32) output contains DOS line terminators
  2017-01-17 20:22 ` Marco Atzeri
@ 2017-01-17 20:52   ` Brian Inglis
  2017-01-17 21:45     ` Nellis, Kenneth (Conduent)
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Inglis @ 2017-01-17 20:52 UTC (permalink / raw)
  To: cygwin

On 2017-01-17 13:21, Marco Atzeri wrote:
> On 17/01/2017 21:00, Brian Inglis wrote:
>> All cygcheck output seems to have DOS line terminators in both
>> Cygwin 64 & 32.
>> Is this by design or just because it's a native Windows app?
> second one

So by accident rather than intent?
Could that be easily changed to be more Cygwin-like?
Or would it involve more difficult changes to a lower level API?

>> It's annoying in command lines and scripts to have to strip the \r.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: cygcheck (64&32) output contains DOS line terminators
  2017-01-17 20:52   ` Brian Inglis
@ 2017-01-17 21:45     ` Nellis, Kenneth (Conduent)
  2017-01-17 23:43       ` cyg Simple
  0 siblings, 1 reply; 5+ messages in thread
From: Nellis, Kenneth (Conduent) @ 2017-01-17 21:45 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 943 bytes --]

From: Brian Inglis 
> On 2017-01-17 13:21, Marco Atzeri wrote:
> > On 17/01/2017 21:00, Brian Inglis wrote:
> >> All cygcheck output seems to have DOS line terminators in both
> >> Cygwin 64 & 32.
> >> Is this by design or just because it's a native Windows app?
> > second one
> 
> So by accident rather than intent?
> Could that be easily changed to be more Cygwin-like?
> Or would it involve more difficult changes to a lower level API?
> 
> >> It's annoying in command lines and scripts to have to strip the \r.

I agree. Despite the fact that it's a "Windows app", the fact remains
that it is installed in /usr/bin, so its clear intent is to be run
from the Cygwin command line.  --Ken Nellis
\0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒ÷\a&ö&ÆV×2æ‡FÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöf\x17\x12ðФFö7VÖVçF\x17F–öã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R\x06–æfó¢\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–×\x06ÆPРÐ

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cygcheck (64&32) output contains DOS line terminators
  2017-01-17 21:45     ` Nellis, Kenneth (Conduent)
@ 2017-01-17 23:43       ` cyg Simple
  0 siblings, 0 replies; 5+ messages in thread
From: cyg Simple @ 2017-01-17 23:43 UTC (permalink / raw)
  To: cygwin

On 1/17/2017 4:44 PM, Nellis, Kenneth (Conduent) wrote:
> From: Brian Inglis 
>> On 2017-01-17 13:21, Marco Atzeri wrote:
>>> On 17/01/2017 21:00, Brian Inglis wrote:
>>>> All cygcheck output seems to have DOS line terminators in both
>>>> Cygwin 64 & 32.
>>>> Is this by design or just because it's a native Windows app?
>>> second one
>>
>> So by accident rather than intent?
>> Could that be easily changed to be more Cygwin-like?
>> Or would it involve more difficult changes to a lower level API?
>>
>>>> It's annoying in command lines and scripts to have to strip the \r.
> 
> I agree. Despite the fact that it's a "Windows app", the fact remains
> that it is installed in /usr/bin, so its clear intent is to be run
> from the Cygwin command line.  --Ken Nellis
> 

Anyone willing to write a patch to set the output to binary mode instead
of text mode?

-- 
cyg Simple

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-17 23:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17 20:00 cygcheck (64&32) output contains DOS line terminators Brian Inglis
2017-01-17 20:22 ` Marco Atzeri
2017-01-17 20:52   ` Brian Inglis
2017-01-17 21:45     ` Nellis, Kenneth (Conduent)
2017-01-17 23:43       ` cyg Simple

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).