X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=WZmASrty9unp/2/3 k+YtP4kMfqiVwP+epNg8qWLtJ8Xk+WVS89I3256UTosBLFF1mq/k5jhRIAsgdntb AEgiJpPD3nxPvpVUFgTfq0AsDItv8lGVX4lLYauvgHR2TTd3Ygy+91+hRBWTNsbd cPNrxKaDiTHXHNCJhInAc4aZCe0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=0aoViOBI6IvYWvZXRAXcS9 y9XjA=; b=N1DFlWMoTL01iIz7FtSbDDRApwgzQspY1iQ/6jApQMS/GP6q/eatCk igj5yqHp3uGXjL1n76Q8WswVuB1G/nmRZd1HmWEWdcMzNo0oRVkaGyM9mSN93uCk K+BPNCisVGG3GP0jUEAkhm4zv6nJWUm24+DfuzUjMSmJw0qYgfwnc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Date: Thu, 2 Oct 2014 03:21:52 +0400 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1576090815.20141002032152@yandex.ru> To: "Paul.Domaskis" , cygwin AT cygwin DOT com Subject: Re: Direct/efficient way to chop off trailing \n In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Paul.Domaskis! > Jim, I think you're right. cygpath could benefit a lot from a -n > switch to suppress the new line. From google, however, it's actually > just li'l olde me that would benefit as no one else seems to have the > want for it. That's just happened to be opposite case of common usage, I suppose. Most people either use Cygwin tools in isolation, or use Cygwin tools from Windows tools. The opposite is rare, and mostly boils down to scripting, where you naturally use $(cygpath ...) to produce desired results. > So I can see why such a switch has never been developed. > It's probably only needed for cygwin users, as it is the *unixy crowd > that uses both Windows & *nix at the same time. The cygpath tool is Cygwin specific :) So there's no contradiction to your words. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 02.10.2014, <3:17> Sorry for my terrible english... -- 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