git: 9front

Download patch

ref: e56cf94e9fa240749bfb0432e615e8f284cec4a5
parent: 720f5e8b8ac8416d1bb847010a15dac6d84f5ad2
author: stanley lieber <stanley.lieber@gmail.com>
date: Sun Oct 21 17:44:53 EDT 2012

pkg/list: handle werc directory listings

--- a/lib/rsc
+++ b/lib/rsc
@@ -70,3 +70,4 @@
 Ouch
 Please don't.
 Test?
+sure
--- a/lib/theo
+++ b/lib/theo
@@ -217,3 +217,6 @@
 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?
--- a/sys/src/cmd/pkg/list
+++ b/sys/src/cmd/pkg/list
@@ -4,6 +4,6 @@
 	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'
--