Skip to content

Commit

Permalink
Revert "Improve parsing of AWK results"
Browse files Browse the repository at this point in the history
This reverts commit 33e0b55.
  • Loading branch information
l3kn committed Mar 18, 2024
1 parent c209f07 commit 2e21b70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions awk/index.awk
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ BEGIN {
state_review_data = 4;
state_review_data_body = 5;
state_review_data_done = 6;

print "(";
}

## File Parsing
Expand Down Expand Up @@ -235,7 +233,3 @@ $0 ~ review_data_drawer {
}
next;
}

END {
print ")";
}
2 changes: 1 addition & 1 deletion org-fc-awk.el
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ ITAGS and LTAGS are strings `\":tag1:tag2:\"'"
;; o(file|card) for eieio objects
(if (string-prefix-p "(" output)
(let (files)
(dolist (pfile (mapcan #'identity (read (concat "(" output ")"))))
(dolist (pfile (read (concat "(" output ")")))
(let* ((ofile
(org-fc-file
:path (plist-get pfile :path)
Expand Down

0 comments on commit 2e21b70

Please sign in to comment.