aboutsummaryrefslogtreecommitdiff
path: root/dist/mkdirlist
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2017-09-28 11:20:22 +0200
committerPetter Rodhelind <petter.rodhelind@gmail.com>2017-09-28 11:20:22 +0200
commited9342b2a15fcb98a5e1641b291b9d51f00538e8 (patch)
treefae6678eac643e3b220ac1cf5529a81f780fe475 /dist/mkdirlist
parent3792be8ab8fe8253fa4758a646963eb7fb95b390 (diff)
parent3f8ac29339ad67f05d32064fcc810035d55a3985 (diff)
downloadplan9port-ed9342b2a15fcb98a5e1641b291b9d51f00538e8.tar.gz
plan9port-ed9342b2a15fcb98a5e1641b291b9d51f00538e8.tar.bz2
plan9port-ed9342b2a15fcb98a5e1641b291b9d51f00538e8.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'dist/mkdirlist')
-rwxr-xr-xdist/mkdirlist7
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/mkdirlist b/dist/mkdirlist
new file mode 100755
index 00000000..8f43fc8a
--- /dev/null
+++ b/dist/mkdirlist
@@ -0,0 +1,7 @@
+#!/usr/local/plan9/bin/rc
+
+echo '<pre>'
+echo '<a href="/plan9port">Plan 9 from User Space</a> '$2
+echo
+@{cd $1; 9 ls -lF} | 9 sed 's!^(.-......... M 0 )[^ ]+ [^ ]+ (.*) (.*[^*])!\1 glenda sys \2 <a href='\3'>\3</a>!'
+echo '</pre>'