diff options
author | Leon Rische <leon.rische@me.com> | 2020-02-03 15:16:35 +0100 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-02-03 15:16:35 +0100 |
commit | f3cf22541e7310235e65d56dd893bbf68a31b232 (patch) | |
tree | 1d92d2bb7b6fee307ec77dad790e1d54e5c3b27b /org-fc-awk.el | |
parent | 4f5b1dddcdc06bef11762b8d2bc22cb7ae6c6483 (diff) |
Remove dependency on `shuf`, use `gawk` instead of `awk`
Diffstat (limited to 'org-fc-awk.el')
-rw-r--r-- | org-fc-awk.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/org-fc-awk.el b/org-fc-awk.el index a64182d..f19bf0f 100644 --- a/org-fc-awk.el +++ b/org-fc-awk.el @@ -41,7 +41,7 @@ . value) pairs VARIABLES. If UTILS is set to a non-nil value, the shared util file is included, too. If INPUT is set to a string, use that file (absolute path) as input." - (concat "awk " + (concat "gawk " ;; TODO: quote strings (mapconcat (lambda (kv) (format "-v %s=%s" (car kv) (cdr kv))) @@ -171,8 +171,7 @@ parsing each element with its header specification." "awk/index_positions.awk" :utils t :variables (org-fc-awk--indexer-variables))) - (org-fc-awk--command "awk/filter_due.awk") - "shuf")))) + (org-fc-awk--command "awk/filter_due.awk"))))) (cl-defun org-fc-awk-stats-positions (&optional (paths org-fc-directories)) "Statistics for all positions in PATHS." |