Skip to content

Commit

Permalink
[wip] filepaths: use #:multi instead of #:once-each
Browse files Browse the repository at this point in the history
  • Loading branch information
BostX committed Feb 8, 2024
1 parent 94b068b commit 5b18791
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ racket main.rkt -e \"/home/bost/der/search-notes/main.rkt /home/bost/der/search-

#:once-each
;; see also .spacemacs definition
;; TODO Instead of #:once-each for -e #:multi may be used:
;; -e /path/to/file1 -e /path/to/file2 -e /path/to/file3
;; This would enable to search in files with spaces or blanks in
;; file-names and probably also environment vars. E.g.
;; /home/bost/org-roam/guix-guile-nix/guile.scrbl -> ~/org-roam/guix-guile-nix/guile.scrbl
;; or
;; /home/bost/org-roam/guix-guile-nix/guile.scrbl -> $HOME/org-roam/guix-guile-nix/guile.scrbl
;; the command-line would be shorter.
[("-e" "--exact-filepaths")
FILEPATHS
"List of exact filepaths on the file system."
Expand Down

0 comments on commit 5b18791

Please sign in to comment.