changeset 0:5f46babb607c draft default tip

add some files
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Wed, 24 Oct 2012 13:49:50 +0900
parents
children
files index.html linkParse.lua test.html
diffstat 3 files changed, 42 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/index.html	Wed Oct 24 13:49:50 2012 +0900
@@ -0,0 +1,15 @@
+<html>
+<body>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+</body>
+It Works!
+<br>
+<a href="./man4/index.php">OpenGL 4.2 : docs</a>
+<br>
+<a href="./phpinfo.php">phpinfo</a>
+<br>
+<a href="./Continuation_based_C.pdf">continuation_based_c.pdf</a>
+<br>
+<a href="./WaveLAN.mobileconfig">ie-ryukyu プロファイル</a>
+<br>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/linkParse.lua	Wed Oct 24 13:49:50 2012 +0900
@@ -0,0 +1,18 @@
+
+x = arg[1]
+y = arg[2]
+
+print(x,y)
+
+file = assert(io.open("test.html"))
+
+for str in file:lines() do
+    tmp = string.match(str,"<a.+href=\"")
+    if (tmp) then
+	print(tmp)
+    end
+end
+
+
+
+file:close()
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test.html	Wed Oct 24 13:49:50 2012 +0900
@@ -0,0 +1,9 @@
+<html>
+
+  <body>
+    <a href="./index.html">test link</a>
+
+
+  </body>
+
+</html>