ref: 2de4e31f562fbb5c6d1f37cc9595b40cc7b37345
dir: /sys/src/cmd/pkg/list/
#!/bin/rc if(~ $#pkgpath 0) pkgpath=http://r-36.net/9front/pkg/$cputype if(~ $pkgpath ftp* http*) hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/• //g; s/\.tbz.*$//g' if not ls -p $pkgpath/*.tbz | sed 's/\.tbz.*$//g'