delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org 0B7E7386197D |
Authentication-Results: | sourceware.org; dmarc=none (p=none dis=none) |
header.from=rus.uni-stuttgart.de | |
Authentication-Results: | sourceware.org; |
spf=none smtp.mailfrom=rus.uni-stuttgart.de | |
Date: | Thu, 8 Jul 2021 16:19:13 +0200 |
From: | Ulli Horlacher <framstag AT rus DOT uni-stuttgart DOT de> |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
Subject: | Re: search and install packages via bash? |
Message-ID: | <20210708141913.GA21966@tik.uni-stuttgart.de> |
Mail-Followup-To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
References: | <20210708084556 DOT GA7359 AT tik DOT uni-stuttgart DOT de> |
<bf14fb2b-ddf5-8618-0da3-9ea5531c5877 AT dronecode DOT org DOT uk> | |
MIME-Version: | 1.0 |
In-Reply-To: | <bf14fb2b-ddf5-8618-0da3-9ea5531c5877@dronecode.org.uk> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
X-Spam-Status: | No, score=1.0 required=5.0 tests=BAYES_40, KAM_DMARC_STATUS, |
KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, | |
TXREP autolearn=no autolearn_force=no version=3.4.4 | |
X-Spam-Level: | * |
X-Spam-Checker-Version: | SpamAssassin 3.4.4 (2020-01-24) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Thu 2021-07-08 (13:13), Jon Turney wrote: > You could possibly build something equivalent using 'cygcheck -p' and > then processing it's output This part was easy: W10dev:/usr/local/bin: cygsearch ksh Found 449 matches for ksh kshisen-debuginfo-17.04.3-1 - kshisen-debuginfo: Debug info for kshisen kshisen-debuginfo-17.08.3-1 - kshisen-debuginfo: Debug info for kshisen kshisen-debuginfo-17.12.3-1 - kshisen-debuginfo: Debug info for kshisen kshisen-17.04.3-1-src - kshisen-src: KDE Shisensho game (source) kshisen-17.08.3-1-src - kshisen-src: KDE Shisensho game (source) kshisen-17.12.3-1-src - kshisen-src: KDE Shisensho game (source) kshisen-17.04.3-1 - kshisen: KDE Shisensho game kshisen-17.08.3-1 - kshisen: KDE Shisensho game kshisen-17.12.3-1 - kshisen: KDE Shisensho game mksh-debuginfo-53a-1 - mksh-debuginfo: Debug info for mksh (installed binaries and support files) mksh-debuginfo-54-1 - mksh-debuginfo: Debug info for mksh (installed binaries and support files) mksh-debuginfo-56c-1 - mksh-debuginfo: Debug info for mksh mksh-53a-1-src - mksh-src: MirBSD Korn Shell (source) mksh-54-1-src - mksh-src: MirBSD Korn Shell (source) mksh-56c-1-src - mksh-src: MirBSD Korn Shell (source) mksh-53a-1 - mksh: MirBSD Korn Shell (installed binaries and support files) mksh-54-1 - mksh: MirBSD Korn Shell (installed binaries and support files) mksh-56c-1 - mksh: MirBSD Korn Shell W10dev:/usr/local/bin: cat cygsearch #!/bin/bash prg=$(basename $) if [ -z "$1" -o "$1" = "-h" ]; then echo "usage: $prg [-a] EXPRESSION" echo "example: $prg zsh" echo "see also: cygcheck, cyginstall" exit fi if [ "$1" = "-a" ]; then cygcheck -p "$2" else cygcheck -p "$1" | grep "$1" fi -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlacher AT tik DOT uni-stuttgart DOT de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<bf14fb2b-ddf5-8618-0da3-9ea5531c5877 AT dronecode DOT org DOT uk> -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |