On Tue, 1 May 2007, Steven M. Bellovin wrote: > Try this: > > cd /usr/pkgsrc/$x && make show-var VARNAME=PKGNAME > > You may have to use a regular expression to strip off the version > suffix; for my scripts, I don't need to. PKGBASE will have it without the version. Jeremy C. Reed