public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Paul.Domaskis <Paul.Domaskis@gmail.com>, cygwin@cygwin.com
Subject: Re: Direct/efficient way to chop off trailing \n
Date: Wed, 01 Oct 2014 23:35:00 -0000	[thread overview]
Message-ID: <1576090815.20141002032152@yandex.ru> (raw)
In-Reply-To: <loom.20141002T011040-272@post.gmane.org>

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@yandex.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

  reply	other threads:[~2014-10-01 23:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-01 21:52 Paul.Domaskis
2014-10-01 22:08 ` Gary Johnson
2014-10-01 22:50 ` Jim Garrison
2014-10-01 22:54   ` Keith Christian
2014-10-01 22:56     ` Keith Christian
2014-10-01 23:06   ` Gary Johnson
2014-10-01 23:11 ` Paul.Domaskis
2014-10-01 23:35   ` Andrey Repin [this message]
2014-10-02  2:25     ` Eliot Moss
2014-10-02  2:33       ` Eric Blake
2014-10-02 13:13         ` Buchbinder, Barry (NIH/NIAID) [E]
2014-10-02 18:20           ` Paul.Domaskis
2014-10-02 23:24             ` Keith Christian
2014-10-03  5:05             ` Andrey Repin
2014-10-03 13:25               ` Paul.Domaskis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1576090815.20141002032152@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=Paul.Domaskis@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).