delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/27/03:41:30

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 08831388B03A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1593243634;
bh=1q03otbbm/w9BBwdxD9GjBXB2CON/HA8D9PvnzFnkKQ=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=DPmYSXIaORu+eo90kZ7fBcjSxTk8Xii8PVkxz9PtvEtFBxk0soOYyzdR9is02EtNg
FcKxTLJAmiWOCVKtqApnc8Y6c49sV63Miy7qg25vBEbEp4ohhk/HoOIO3L56nUz/yq
I6zz49aKm6DNJUUfqNEUNqU8eyecax0BDbsF0OAs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4798D3851C2C
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=ZlT1Ppxz+0pbkc2PQObtRxRoXY5mlfIpAPmcqpHvp+4=;
b=nfEIzmRUYmoi/H5YVetW23f0V0RGk/E7OlzlJAZdhKVEuzVNL1LoI3hfFtwU+9WWx4
Z9zL0+5tJ6cgsip717rccllRlY8q/VLEXXoDIkMJ+Nxq9Htu7cl658dS5Otb2E1ILbfr
KNmBBmDHhQQ6ybu9WmHY+iMu5c1H3jc9fBk76l3PTmn4PkeEccl1vN1T8lzsda33zPR1
6v4RfsbyBzWelrWS76LiYI9J5s2ZZ8SV+H3HqHkgDSmVN0uZEjY8i66MyWaFlldEPjMf
YcfRFWjOHTlMiziijV4PX3PW9/AoZzZ/pHBT1cAYw2JKeZjHoqMN+BAtnd/65S5cHAt5
Sxig==
X-Gm-Message-State: AOAM5322tUmdVNDIBwEXAQsy7looYkSeipnR0q71fdSFaZi3Et+iZDZj
dyyUuHeZQS31J/S2mymK68HL6RIRFUK5tZpYkuaOihzW5Gk=
X-Google-Smtp-Source: ABdhPJxNlW3vytIhRT47fXk4ajARDNRFyKIroXMxV/PaeW/Q2KrlI+zS3nSpeWm60jtVtj/3Umzoh6a/pqnvzPLCSsY=
X-Received: by 2002:a05:600c:285:: with SMTP id 5mr7402561wmk.41.1593243630304;
Sat, 27 Jun 2020 00:40:30 -0700 (PDT)
MIME-Version: 1.0
References: <20200627 DOT 013459 DOT 435705702566725844 DOT yasu AT utahime DOT org>
<0310877b-25b4-168d-f605-98b924ca6b62 AT SystematicSw DOT ab DOT ca>
<647292733 DOT 20200626201521 AT yandex DOT ru>
<20200627 DOT 030404 DOT 1219230595825821536 DOT yasu AT utahime DOT org>
In-Reply-To: <20200627.030404.1219230595825821536.yasu@utahime.org>
Date: Sat, 27 Jun 2020 09:40:18 +0200
Message-ID: <CAEhDDbC++CHOJY6pO3YT6VGeLZFzso_Vm=nBdQk86BT8kw6rsA@mail.gmail.com>
Subject: Re: Listing only manually installed package
To: Yasuhiro KIMURA <yasu AT utahime DOT org>
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
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-Content-Filtered-By: Mailman/MimeDel 2.1.29
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-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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Csaba Raduly via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Csaba Raduly <rcsaba AT gmail DOT com>
Cc: cygwin list <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Fri, 26 Jun 2020 at 20:20, Yasuhiro KIMURA  wrote:
>
> From: Brian Inglis
> Subject: Re: Listing only manually installed package
> Date: Fri, 26 Jun 2020 11:20:26 -0600
>
> > $ grep '\s1$' /etc/setup/installed.db # manual
> > $ grep '\s0$' /etc/setup/installed.db # auto
> >
> > $ awk '1 == $3' /etc/setup/installed.db       # manual
> > $ awk '0 == $3' /etc/setup/installed.db       # auto
> >
> > I can't remember what the pristine state of the Base category packages
are,
> > I've messed around with the setup files so much for so long.
>
> I checked /etc/setup/installed.db on my 32bit and 64bit console but in
> each case all lines end with "0". Therefore,
>

Just a data point:
Csaba AT AMDAHL ~
$ grep -c '\s1$' /etc/setup/installed.db
49

Csaba AT AMDAHL ~
$ grep -c '\s0$' /etc/setup/installed.db
461

Csaba

--
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant
way
to get the wrong information: this is what you want. - Scott Meyers
(C++TDaWYK)
--
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

- Raw text -


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