pkg/list: show only pkg names

This commit is contained in:
stanley lieber 2012-06-02 23:03:50 -05:00
parent aa8f8dd151
commit 91c13bda90

View file

@ -4,6 +4,6 @@ if(~ $#pkgpath 0)
pkgpath=http://r-36.net/9front/pkg/$cputype
if(~ $pkgpath ftp* http*)
hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz$//'
hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz.*$//g'
if not
ls -p $pkgpath/*.tbz | sed 's/\.tbz//g'
ls -p $pkgpath/*.tbz | sed 's/\.tbz.*$//g'