(defun c:itout ( / ) (setq href_list NIL) (setq it(open "c:/sites/paracadd/lisp/lisp_lst.htm" "r")) (setq ito (open "c:/sites/paracadd/lisp/lisp_sum.htm" "w")) (while (and (setq itr (read-line it))(not (wcmatch (strcase itr) "*
*") (while (not (wcmatch (substr itr itr_cnt) "")) (setq itr_step (1+ itr_step)) ) ;;; (write-line (substr itr itr_cnt (- itr_step (1- itr_cnt))) ito) (if (or (and href_list (member (strcase (substr itr itr_cnt (- itr_step (1- itr_cnt))))(mapcar 'strcase href_list))) (not (wcmatch (strcase (substr itr itr_cnt (- itr_step (1- itr_cnt)))) "*>*.LSP*")) (wcmatch itr "*webster*") ) nil (setq href_list (append href_list (list (substr itr itr_cnt (- itr_step (1- itr_cnt)))))) )) ;;; ((wcmatch itr "**"))) ;;; (write-line itr ito)) ;;; ((and href_not_closed (wcmatch itr "**")) ;;; (setq itr_step 1) ;;; (while (not (wcmatch (substr itr 1 itr_step) "*")) ;;; (setq itr_step (1+ itr_step)) ;;; ) ;;; (write-line (substr itr 1 itr_step) ito) ;;; (setq href_not_closed NIL) ;;; ) ;;; ) ;;; ) ) ) (setq href_list (acad_strlsort href_list)) (foreach n href_list (write-line n ito) (write-line "•" ito) ) (write-line itr ito) (setq itr (read-line it)) (while (and itr (not (wcmatch (strcase itr) "*