new functions, doc updates
This commit is contained in:
@@ -46,9 +46,6 @@
|
||||
(defn sleep (time)
|
||||
(system-cmd (+ "sleep " (string time))))
|
||||
|
||||
(defn get-env (var)
|
||||
(second (system-cmd (+ "echo ${" var "} | tr -d \"\n\""))))
|
||||
|
||||
|
||||
(defn third (l) (index l 2))
|
||||
(defn fourth (l) (index l 3))
|
||||
@@ -196,7 +193,7 @@
|
||||
(def c 0)
|
||||
(for col row
|
||||
(if (= c 0)
|
||||
(def cols_str col)
|
||||
(def cols_str (display col))
|
||||
(def cols_str (+ cols_str "," (display col))))
|
||||
(def c (inc c)))
|
||||
(if (= r 0)
|
||||
|
||||
Reference in New Issue
Block a user