Re: Listing installed ports without any ports dependent on it
From: parv (parv_fm_at_emailgroups.net)
Date: 06/03/03
- Previous message: DanB: "Can you copy freebsd from one of my present machine and load it to a new"
- In reply to: Adam: "Re: Listing installed ports without any ports dependent on it"
- Next in thread: kitsune: "Re: Listing installed ports without any ports dependent on it"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 3 Jun 2003 01:38:43 -0400 To: Adam <blueeskimo@gmx.net>
in message <1054613446.16970.83.camel@jake>,
wrote Adam thusly...
>
> On Mon, 2003-06-02 at 23:53, Joe Marcus Clarke wrote:
>
> > It's not Python, but this script should work.
> >
> > #!/bin/sh
> >
> > for i in `pkg_info | cut -f1 -d ' '`; do
> > if [ -z "`pkg_info -qR ${i}`" ]; then
> > echo ${i}
> > fi
> > done
>
> Excellent! This does exactly what I was after!
Above program gives the exact result as the one i posted, except one
non essential "pkgdb" line. What did i miss?
- Parv
-- A programmer, budding Unix system administrator, and amateur photographer ISO employment. Details... http://www103.pair.com/parv/work/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: DanB: "Can you copy freebsd from one of my present machine and load it to a new"
- In reply to: Adam: "Re: Listing installed ports without any ports dependent on it"
- Next in thread: kitsune: "Re: Listing installed ports without any ports dependent on it"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|