diff options
| author | fukachan <fukachan> | 2001-01-20 14:59:26 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-01-20 14:59:26 +0000 |
| commit | 1e9f1455cc7263c6c2d432ed2cbfcd700e740bf8 (patch) | |
| tree | c65e0ad722846d0dec5d585dcbaa1393518c0abb | |
| parent | 0f435279facc3f52cdddd9567907a4501d720117 (diff) | |
| download | fml8-1e9f1455cc7263c6c2d432ed2cbfcd700e740bf8.tar.gz fml8-1e9f1455cc7263c6c2d432ed2cbfcd700e740bf8.tar.bz2 fml8-1e9f1455cc7263c6c2d432ed2cbfcd700e740bf8.zip | |
add util for conversion
| -rwxr-xr-x | regress/dir2url | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/regress/dir2url b/regress/dir2url new file mode 100755 index 00000000..ffc1da6d --- /dev/null +++ b/regress/dir2url @@ -0,0 +1,28 @@ +#!/bin/sh +# +# $Id$ +# + +SHOW () { + echo "<UL>" + for x in *[a-z0-9A-Z] + do + if [ "X$x" = XCVS ]; then continue; fi + if [ "X$x" = Xindex.ja.html ]; then continue; fi + if [ "X$x" = Xindex.en.html ]; then continue; fi + if [ "X$x" = Xindex.html ]; then continue; fi + + echo " <LI>"; + if [ -d $x ];then + echo " <A HREF=$x/index.ja.html>$x::</A>" + else + echo " <A HREF=$x>$x</A>" + fi + echo "" + done + echo "</UL>" +} + +SHOW + +exit 0; |
