summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2012-10-21 21:44:53 -0500
committerstanley lieber <stanley.lieber@gmail.com>2012-10-21 21:44:53 -0500
commit761f673032a5ddf35f51f231986db1170900563f (patch)
treece9e62f67b5072b0e867554e7efaaf002a2b6ff9
parent54d2424a7cab7fe1808f7bdb7acade6af0e3428a (diff)
pkg/list: handle werc directory listings
-rw-r--r--lib/rsc1
-rw-r--r--lib/theo3
-rwxr-xr-xsys/src/cmd/pkg/list2
3 files changed, 5 insertions, 1 deletions
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'