delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/17/14:56:35

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=ErXG22KikGBL/m87ucc+VRn5WIdg2
dffzREmpaM6rJVBP/l06Kdbq5CWgIVMcFK855kFktCMrQOgD1PXPssq7UjZ1dTvh
uauKEY7Fgwj55qMX3HYlb1MsbCIb3Bt/D+EEXKLR0NkrCFRghijKNWx01YqTt/Uc
yy/NZr8no1o8Po=
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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=5FXd07IWoeSvtX234WMCUYq+/nw=; b=JlK
kcBManZubRInDiAfyECdOh7xsNBQb7JD88ohC8QV3ZhhxyuLARzrWbKpWeUKnf+8
7IVXqhaO8wlFMrvY7tnXgkuP8dykKgD5i4s31NV9PNF4fx+lMmBzQEEOup4SdCxf
KLm3nt1i7SzczeYtZdOL5ygaX0JMJDx8HtoOKN80=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-1.4 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:4ce98a9, H*f:sk:4ce98a9, excellent!, Hx-languages-length:470
X-HELO: USA7109MR002.ACS-INC.COM
From: "Nellis, Kenneth (Conduent)" <Kenneth DOT Nellis AT conduent DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: separating cygcheck -f package name from version
Date: Tue, 17 Jan 2017 19:56:17 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A704BBDBE74@USA7109MB022.na.xerox.net>
References: <4ce98a93-0329-5061-09d7-7c6ef764b399 AT SystematicSw DOT ab DOT ca>
In-Reply-To: <4ce98a93-0329-5061-09d7-7c6ef764b399@SystematicSw.ab.ca>
MIME-Version: 1.0
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v0HJuX35005295

From: Brian Inglis
> 
> $ fgrep "$(cygcheck -f /usr/bin/find | sed 's/\r$//').tar." \
> 			/etc/setup/installed.db | cut -d' ' -f1
> findutils
> 
> OR
> 
> $ fgrep "$(cygcheck -f /usr/bin/find | d2u).tar." \
> 		/etc/setup/installed.db | cut -d' ' -f1
> findutils
> 
> cygcheck -f outputs DOS lines with \r which need stripped as
> shown, using sed (Base), d2u, or your choice of available tool.

Excellent! Thank you! --Ken

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019