Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2000 18:24:25 -0500 (CDT)
From:      Marius Strom <marius@alpha1.net>
To:        Rasmus Kaj <kaj@raditex.se>
Cc:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, Patrick Seal <patseal@hyperhost.net>, "Chad R. Larson" <chad@DCFinc.com>, sheldonh@uunet.co.za, swb@grasslake.net, freebsd-stable@FreeBSD.ORG
Subject:   Re: package maintenance (Re: ucd-snmp)
Message-ID:  <Pine.BSF.4.21.0005131823490.73033-100000@marius.org>
In-Reply-To: <84itwiu75a.fsf@frodo.sickla.raditex.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's zsh completions for it:

compctl -g '/var/db/pkg/*(/:t)' pkg_delete pkg_info

-- 
Marius Strom <marius@alpha1.net>
Professional Geek/Unix System Administrator
Alpha1 Internet <http://www.alpha1.net>;
http://www.marius.org/marius.pgp 0x42C74CBA

Quidquid Latine Dictum Sit, Profundum Viditur.

On 13 May 2000, Rasmus Kaj wrote:

> >>>>> "JKH" == Jordan K Hubbard <jkh@zippy.cdrom.com> writes:
> 
>  >> Let's take removing Samba as an example:
>  >> 
>  >> 1.  pkg_info | grep -i samba
>  >> 2.  wait for a long time.
>  >> 3.  pkg_delete samba-2.0.6
> 
> Why not pkg_delete samba<TAB> ?
> 
>  JKH> What I don't understand is why the next generation of package hackers
>  JKH> (and I salute anyone intrepid enough to go hacking on that evil code)
>  JKH> hasn't just *extended* the current feature set, [...]
> 
> I went the other (also very 'Unix-esque', IMO) way: I let the pkg_*
> tools be as they are and extended the shell to make them convinient.
> 
> Here's my tcsh completeion settings for it (since I wrote that, I have
> changed to zsh, but I haven't yet rewritten the completions for it) :
> 
> complete pkg_info "p@*@F:/var/db/pkg/@"
> complete pkg_delete "p@*@F:/var/db/pkg/@"
> complete pkg_checksum "p@*@F:/var/db/pkg/@"
> 
> The last one, pkg_checksum, is a simple perl script which uses
> pkg_info to get the checksums for all installed files and checks that
> they matches the actual files (I originally wrote it to find the file
> I had modified to make jade work for large files, not remembering that 
> it was mentioned in the pkg_info for jade :-) ).
> 
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005131823490.73033-100000>