From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13412 invoked by alias); 20 Oct 2016 04:53:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13402 invoked by uid 89); 20 Oct 2016 04:53:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=1.06, gow X-HELO: mail-yb0-f181.google.com Received: from mail-yb0-f181.google.com (HELO mail-yb0-f181.google.com) (209.85.213.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Oct 2016 04:53:02 +0000 Received: by mail-yb0-f181.google.com with SMTP id f97so12488194ybi.1 for ; Wed, 19 Oct 2016 21:53:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6fFky9iZ35rVxU3CsEsda/Yv8uCYMeVVrwlzdonTq0E=; b=jRZlft8fOhGbd2fIM0Khw3zC2RIazKSii7yz/OkVRl9Sgfuetpg1Wy8vc+0EPne4rE Pkdhj0GVFCk45ZI9Ax0KM7LSeWXFKMSnb+zYwvvc7EbeB/W5gj+zU7j+7aKxH4TpXAuB Ha9IjAgqWHlzEpQZvjRReMBp0Y3RTUd+XFdhpRbt3wntReqluDdqrjN0UGvOZnIGqK4l 0EFnzetRZ7J8U808820A3wM6790fgWRQVzObBt+bnugJtSQx3d7NqBRqbnHQokbMDuKz 6yjj06omEJOCvAilwILycyjGo+a7y/CCLWfgPhpq8mAj+qKWaCI4QDhNIyOQOSfmsMa9 4F/g== X-Gm-Message-State: AA6/9RlFI83kawg7/HHfErdlNy8D3K1ueLbtMe/7o3Geqw6ebEjiyQKoFecOHik8J0BLMqq69h0cAexhcoyssg== X-Received: by 10.37.87.197 with SMTP id l188mr9718582ybb.184.1476939180451; Wed, 19 Oct 2016 21:53:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.202.130 with HTTP; Wed, 19 Oct 2016 21:52:59 -0700 (PDT) From: dapiot holmp Date: Thu, 20 Oct 2016 07:02:00 -0000 Message-ID: Subject: bc version has issue with \r when run from cmd To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-10/txt/msg00241.txt.bz2 the version of bc that comes with cygwin, is bc 1.06.95 it works fine from within the cygwin environment, but from cmd it doesn't process \r C:\cygwin\bin>echo 5+4|.\bc (standard_in) 1: illegal character: ^M C:\cygwin\bin> C:\cygwin\bin>echo 5+4|tr -d '\r'|.\bc 9 C:\cygwin\bin> Whereas I notice that Gow uses 1.06 And that does work with \r in cmd C:\Program Files (x86)\Gow\bin>.\bc -v bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 F C:\Program Files (x86)\Gow\bin> And it works fine with \r C:\Program Files (x86)\Gow\bin>echo 5+4|.\bc 9 C:\Program Files (x86)\Gow\bin> -- 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