some comments and Readme changes
This commit is contained in:
@@ -42,19 +42,10 @@
|
||||
(second (system-cmd (+ "echo ${" var "} | tr -d \"\n\""))))
|
||||
|
||||
|
||||
; return second element of list
|
||||
(defun second (l) (index l 1))
|
||||
|
||||
; return third element of list
|
||||
(defun third (l) (index l 2))
|
||||
|
||||
; return fourth element of list
|
||||
(defun fourth (l) (index l 3))
|
||||
|
||||
; return fifth element of list
|
||||
(defun fifth (l) (index l 4))
|
||||
|
||||
; return nth element of list, indexing from 0
|
||||
(defun nth (i l) (index l i))
|
||||
|
||||
; return 1 when list contains item otherwise 0
|
||||
|
||||
Reference in New Issue
Block a user