summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-04-11 14:09:35 +0200
committerLeon Rische <leon.rische@me.com>2020-04-11 14:09:35 +0200
commitc0c7529bfbe78e0de6c9ac1937f0f85de4eeea3b (patch)
tree713fd42bec8b6bed474baed0f02a4aca5b598bf4
parentdf927f911a7c5a4df6f8efe32939d5b3f0b9cf17 (diff)
Add support for org files containing quotes
-rw-r--r--org-fc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/org-fc.el b/org-fc.el
index b14a8ce..fe6cbe9 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -914,7 +914,7 @@ Checks if the headline is a suspended card first."
(defun org-fc-awk--find (paths)
"Generate shell code to search PATHS for org files."
(format
- "find %s -name \"%s\""
+ "find %s -name \"%s\" -print0"
(mapconcat 'identity paths " ")
org-fc-awk--find-name))
@@ -951,7 +951,7 @@ file (absolute path) as input."
(defun org-fc-awk--xargs (command)
"Generate the shell command for calling COMMAND with xargs."
- (concat "xargs -n 2500 -P 4 " command))
+ (concat "xargs -n 2500 -P 4 -0 " command))
;;;; TSV / Key-Value Parsing