summaryrefslogtreecommitdiff
path: root/oecho/oecho.ml
diff options
context:
space:
mode:
authorZoRo <dos21h@gmail.com>2020-06-27 18:02:17 +0100
committerZoRo <dos21h@gmail.com>2020-06-27 18:02:17 +0100
commit81cece0dc62e1ba9d162ab12ae361b870d74568a (patch)
treeaeb1c75ec74c1d27d616656eb3d27452105edb2f /oecho/oecho.ml
downloadosystem-81cece0dc62e1ba9d162ab12ae361b870d74568a.tar.gz
osystem-81cece0dc62e1ba9d162ab12ae361b870d74568a.zip
oecho,omkdir,ormdir,omkfile
Diffstat (limited to 'oecho/oecho.ml')
-rw-r--r--oecho/oecho.ml10
1 files changed, 10 insertions, 0 deletions
diff --git a/oecho/oecho.ml b/oecho/oecho.ml
new file mode 100644
index 0000000..eae9ffe
--- /dev/null
+++ b/oecho/oecho.ml
@@ -0,0 +1,10 @@
+open Arg
+open Unix
+open Scanf
+open Printf
+
+let num = Array.length Sys.argv
+let _ = if num == 2 then
+ Printf.printf "%s\n" Sys.argv.(1)
+ else Printf.printf "\n"
+