Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2021 09:34:08 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        doug@safeport.com, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: generate top-level pkg install list?
Message-ID:  <4bbf2f4f-a187-78af-f875-6e03b39f54f6@dreamchaser.org>
In-Reply-To: <CAN6yY1sLTjA9Pf3uLadYiYK3_QsUPYceQY56mEKUpahNXb%2BQ2Q@mail.gmail.com>
References:  <23d9f371-b023-6647-4a63-b9e4a9e6ca61@dreamchaser.org> <14a2618-5268-fa37-8a21-76dcd0a9bab4@fledge.watson.org> <e70febe9-7bbe-9eb6-edad-6b3a9cc58140@dreamchaser.org> <CAN6yY1sLTjA9Pf3uLadYiYK3_QsUPYceQY56mEKUpahNXb%2BQ2Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> Any ideas for how to generate a list of packages installed
>>> deliberately and in sequence?
> 
>> pkg prime-origins. It's in alphabetic order. Date can come from:
>> 
>> pkg info <name> | egrep "Name|Installed"
> 
> Thanks.  I had the pkg info part, it was the pkg query part I
> needed. I see prime-origins is an alias; it doesn't show up in pkg
> help unless you already know about it.
> 
> Seems like a note in pkg-message for the pkg port about the alias
> file would be a good idea. I just stumbled onto it last week,
> myself. 

wouldn't "pkg help" would be a better place, and a modification of the man
page to indicate the aliases don't show up in the individual "pkg help <cmd>"
results?

Something like:

man pkg:
   alias  List ...
     Note that aliases for individual commands are not listed when
     "pkg help <command>" is done.

pkg help:
   Note on aliases:
     Aliases for specific commands are not listed when "pkg help <command>"
     is done.  To list aliases specific to a command, try "pkg alias | grep <command>", e.g. "pkg alias | grep query"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4bbf2f4f-a187-78af-f875-6e03b39f54f6>