some comments and Readme changes

This commit is contained in:
2021-03-28 13:46:12 +02:00
parent 89dd5c6f07
commit c75a04a4f7
3 changed files with 6 additions and 18 deletions

View File

@@ -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