This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bc version has issue with \r when run from cmd
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin at cygwin dot com
- Date: Sun, 23 Oct 2016 18:19:31 -0400
- Subject: Re: bc version has issue with \r when run from cmd
- Authentication-results: sourceware.org; auth=none
- References: <CAKBM6-PHPZ23SqwSLbUL=PZZGuJrNQCBkc7BoatnSG4orijJGw@mail.gmail.com>
> >From: "L. A. Walsh" <cygwin at tlinx dot org>
> >Date: Sat, 22 Oct 2016 15:52:42 -0700
>
> To L.A. Walsh.
>
> I understand all that but what i'm saying is that version 1.06 (not
> 1.06.95, which cygwin is using, but 1.06, which Gow uses), So, version
> 1.06 Doesn't have a problem with the fact that cmd sends a \r So,
> if one doesn't want to call it a bug, then one can call it a lost
> feature, useful feature of 1.06 (allowing bc to conveniently also be
> used from cmd), and that beneficial flexible feature was lost in
> 1.06.95
Hi. I adopted the bc package about a year ago, since fish uses it and I maintain
fish for Cygwin.
I think L.A. is right that because this is an issue of integration between
Cygwin and cmd, it's in the category of a nice-to-have feature. But I get that
it would be useful for you, and maybe for others too.
I haven't looked at the bc source code. It could take some time to find where
the issue is. A place to start would be to compare the code archives:
http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz
http://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2
If you were to localize the problem in the source code and even propose a patch,
that would make it a lot more likely to get the problem fixed. Heck, you might
even get a gold star. I maintain the gold star page too :)
Andrew
--
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