diff options
author | Julio Capote <jcapote@gmail.com> | 2022-08-21 15:30:42 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2022-08-21 15:30:42 +0000 |
commit | a44d810632cb9b9527b6b220d486cea577802c72 (patch) | |
tree | 912a6da9ec6ec2e6e28ec064e0d7b6981e167e41 /libexec/recit-entries | |
parent | e8910ecd98488bc2dcc82389a82b14ca2361617a (diff) | |
download | recit-a44d810632cb9b9527b6b220d486cea577802c72.tar.gz |
move recsel calls to its own file
Diffstat (limited to 'libexec/recit-entries')
-rwxr-xr-x | libexec/recit-entries | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libexec/recit-entries b/libexec/recit-entries index 9cb45ca..3888963 100755 --- a/libexec/recit-entries +++ b/libexec/recit-entries @@ -58,9 +58,11 @@ if ! [[ "$project" = "" ]]; then fi fi -if [[ "$expression" = "" ]]; then - out=$(recsel -t Entry "${recfile}" | recfmt -f share/recit/templates/entries.templ) - echo -e "$out" -else - recsel -t Entry -e "$expression" "${recfile}" -fi +recit-recsel-entries "$expression" + +# if [[ "$expression" = "" ]]; then +# out=$(recsel -t Entry "${recfile}" | recfmt -f share/recit/templates/entries.templ) +# else +# out=$(recsel -t Entry "${recfile}" -e "$expression" | recfmt -f share/recit/templates/entries.templ) +# fi +# echo -e "$out"
\ No newline at end of file |