Re: Package naming conventions (?)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Dec 2021 09:36:26 UTC
In message <4f64bca8-c3e6-01d8-3777-8ed10003d415@bluerosetech.com>, Mel Pilgrim <list_freebsd@bluerosetech.com> wrote: >On 2021-12-30 18:50, Ronald F. Guilmette wrote: >> In general, full package names end with a version number which consists >> exclusively of digits, periods, commas, and underscores. Thus the >> *generalized* (non-version-specific) package names for all currently >> installed packages may, generally speaking, be derived thusly: >> >> pkg info | awk '{print $1}' | sed -E 's/-([0-9]|,|_|\.)+$//' > >Do this instead: > >pkg query '%n' Thank you! I knew that something like this must exist, but I had no idea what the command was until now. I guess that now that I have this I should stop whining about goofy package version numbers, but I'm still an anal retentive personality, and I would still prefer it if those all consisted of just digits, periods, commas, and underscores. Not that anyone ever cares what I think. Regards, rfg