public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: matthew patton <pattonme@yahoo.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: How to reinstall everything?
Date: Sun, 17 Jan 2021 20:53:43 +0000 (UTC)	[thread overview]
Message-ID: <587070012.1721774.1610916823028@mail.yahoo.com> (raw)
In-Reply-To: <874kjfe4c0.fsf@Rainer.invalid>

On Sunday, January 17, 2021, 02:44:37 PM EST, Achim Gratz <stromeko@nexgo.de> wrote:
 
 
 >matthew patton via Cygwin writes:
>> can we fix setup.exe to read STDIN with '-P', like so? 
>> echo 'pkg1,pkg2,pkg3' | setup.exe -P -

> You probably forgot that setup is a Windows program.  besides, you must
> not start it from the Cygwin that you are about to install a package into.

so Windows programs can't be written to read from STDIN? I can't think of any Unix utility that uses commas to delimit. And any Windows one that uses commas is clearly improper/wrong was well.
If "you're not supposed to invoke setup.exe from within cygwin" were true then all the 'xargs' and 'paste' workarounds are null and void. And no, I don't automatically reach for xargs to bandaid around poorly written programs that violate 50 years of convention.
  

  reply	other threads:[~2021-01-17 20:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16 19:55 Hamish McIntyre-Bhatty
2021-01-16 21:02 ` Marco Atzeri
2021-01-16 21:59   ` Hamish McIntyre-Bhatty
2021-01-21 16:00     ` Hamish McIntyre-Bhatty
2021-01-21 16:24       ` Marco Atzeri
2021-01-21 16:25         ` Hamish McIntyre-Bhatty
2021-01-17 18:23   ` matthew patton
2021-01-17 19:32     ` Brian Inglis
2021-01-17 19:44     ` Achim Gratz
2021-01-17 20:53       ` matthew patton [this message]
2021-01-18 22:48         ` Brian Inglis
2021-01-17 20:10     ` Hans-Bernhard Bröker
2021-01-21 17:44     ` Bill Stewart
2021-02-04 14:21   ` Hamish McIntyre-Bhatty
2021-02-04 15:24     ` Marco Atzeri
2021-02-04 15:25       ` Hamish McIntyre-Bhatty
  -- strict thread matches above, loose matches on Subject: below --
2020-06-26 17:47 Eliot Moss
2020-06-26 18:06 ` marco atzeri
2020-06-26 18:17 ` Brian Inglis
2020-06-27 17:39   ` Brian Inglis

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=587070012.1721774.1610916823028@mail.yahoo.com \
    --to=pattonme@yahoo.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).