On Fri, May 8, 2009 at 8:08 PM, Cody Herriges <[email protected]> wrote:
> Still not the point.  I am looking for an easy way to obtain the package
> with a consistent name that does not require a package management tool like
> pkg-get to obtain.  So I can install pkgutil in the same manner as this part
> (http://www.opencsw.org/pkg-get) of the opencsw webpage instructs you to
> install pkg-get.

Did you mean that you want to do the following?

index_url="http://ftp.math.purdue.edu/mirrors/opencsw.org/unstable/sparc/5.8/";
pkgutil_file="$(wget -O - -q "${index_url}" | grep pkgutil | cut -d\" -f6)"
complete_url="${index_url}/${pkgutil_file}"
wget -O pkgutil.pkg "${complete_url}"

Maciej
_______________________________________________
users mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/users

Reply via email to