diff options
| author | stanley lieber <stanley.lieber@gmail.com> | 2012-10-21 21:44:53 -0500 |
|---|---|---|
| committer | stanley lieber <stanley.lieber@gmail.com> | 2012-10-21 21:44:53 -0500 |
| commit | 761f673032a5ddf35f51f231986db1170900563f (patch) | |
| tree | ce9e62f67b5072b0e867554e7efaaf002a2b6ff9 | |
| parent | 54d2424a7cab7fe1808f7bdb7acade6af0e3428a (diff) | |
| download | plan9front-761f673032a5ddf35f51f231986db1170900563f.tar.xz | |
pkg/list: handle werc directory listings
| -rw-r--r-- | lib/rsc | 1 | ||||
| -rw-r--r-- | lib/theo | 3 | ||||
| -rwxr-xr-x | sys/src/cmd/pkg/list | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -70,3 +70,4 @@ Interesting, thanks. Ouch Please don't. Test? +sure @@ -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' |
