From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) by sourceware.org (Postfix) with ESMTPS id 12097389680D for ; Sun, 17 Jan 2021 19:32:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 12097389680D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id 1DmZlmNFO34ax1Dmal4PGz; Sun, 17 Jan 2021 12:32:16 -0700 X-Authority-Analysis: v=2.4 cv=LvQsdlRc c=1 sm=1 tr=0 ts=600490c0 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=DMOrhDny0nKCKzxp1JIA:9 a=QEXdDO2ut3YA:10 Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com References: <9f016b30-3338-47ce-b734-36aa6a3e981d@gmail.com> <777633643.1693376.1610907809977@mail.yahoo.com> From: Brian Inglis Organization: Systematic Software Subject: Re: How to reinstall everything? Message-ID: <8d4329db-e0c1-3cea-05ed-daf41a527e35@SystematicSw.ab.ca> Date: Sun, 17 Jan 2021 12:32:15 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <777633643.1693376.1610907809977@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfNqfH1Ehre2kskjvTflaFrIA0eIhEB0dn2BqPooUxVUS17BXF9Xcq428EEAgIsYlCQKF02Ka1UmAX5dT2tCxpDxCOqU4Q8xJZPDS42kXsxWCUdn/EV9O HPCCTyfr7GsHSnitIQO2etnlYav1vMy/KR6Nv+1pjCcl5CigcIQCk9uQNIAPOdkBUuZu56Q4/aNnhx/2DEIHgK/bXaKRGIyPeZY= X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2021 19:32:21 -0000 On 2021-01-17 11:23, matthew patton via Cygwin wrote: > can we fix setup.exe to read STDIN with '-P', like so? > $ echo 'pkg1,pkg2,pkg3' | setup.exe -P - > and even more useful if the argument can be space delimited. > $ setup.exe -P pkg1 pkg2 pkg3 > or if that's too much > $ setup.exe -P pkg1 -P pkg2 -P pkg3 "Use the shell and utilities, Luke!" - prefixed echo to setup.exe for demo: $ echo setup.exe -P `echo a,b,c` setup.exe -P a,b,c $ echo setup.exe -P $(echo a,b,c) setup.exe -P a,b,c $ echo a,b,c | xargs echo setup.exe -P setup.exe -P a,b,c $ cat file a b c $ paste -d, -s file | xargs echo setup.exe -P setup.exe -P a,b,c $ man dash $ man bash $ cygstart /usr/share/doc/bash/html/bash.html $ cygstart /usr/share/doc/bash/html/bashref.html $ man xargs -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]