From 761f673032a5ddf35f51f231986db1170900563f Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Sun, 21 Oct 2012 21:44:53 -0500 Subject: [PATCH] pkg/list: handle werc directory listings --- lib/rsc | 1 + lib/theo | 3 +++ sys/src/cmd/pkg/list | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/rsc b/lib/rsc index e2c2ae052..d2f94a019 100644 --- a/lib/rsc +++ b/lib/rsc @@ -70,3 +70,4 @@ Interesting, thanks. Ouch Please don't. Test? +sure diff --git a/lib/theo b/lib/theo index ec88dc02f..66a12c9bb 100644 --- a/lib/theo +++ b/lib/theo @@ -217,3 +217,6 @@ I see other projects falling into this problem all the time. It is awesome. Ha ha. I watch other projects. We won't commit it. Perhaps. +I don't see any problem. +As developers we make decisions which we believe serve our users the best. +Wow, what's that got to do with anything? diff --git a/sys/src/cmd/pkg/list b/sys/src/cmd/pkg/list index edaa176f4..c211d48d2 100755 --- a/sys/src/cmd/pkg/list +++ b/sys/src/cmd/pkg/list @@ -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.*$//g' + hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/• //g; s/\.tbz.*$//g' if not ls -p $pkgpath/*.tbz | sed 's/\.tbz.*$//g'