I have this small snippet of Elisp code that decodes kernel traces:
(defvar projbase "/my/proj/base")
(setq my_shell_output
(substring
(shell-command-to-string (concat "/home/demetra/scripts/eaddrs2line.sh "
projbase " " <each-line> ))
0 -1))
How to write an Elisp function that calls this snippet of code for each line in a region and accumulate the results in a list ? The return is of format "module-name function-name file-path/file-name line-num".
After this is done I can work on the next task to show the list in a helm buffer where going to each line will open the file-path/file-name at line-num.