shithub: riscv

Download patch

ref: 761f673032a5ddf35f51f231986db1170900563f
parent: 54d2424a7cab7fe1808f7bdb7acade6af0e3428a
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'
--