Re: [misc] Searching in calcurse
- Date: Mon, 12 Nov 2018 15:17:26 +0100
- From: Marco van Hulten <Marco.Hulten@xxxxxx>
- Subject: Re: [misc] Searching in calcurse
On 12 Nov 07:08 Donnie Dauphin wrote:
> --Marco, I am most concerned with the first character also so I will remember
> calcurse -Q --days 365 --search='hanksgiving'
> Another thing I seemed to have forgotten is that calcurse is awesome in part
> because of its using standard tools and being easy to work with.
> So I can simply do:
> Calcurse Rules > cat ~/.calcurse/apts | grep -i thanks
> 11/23/2017  >aef85e3a51b452a5d4d1cd2458236f1e7988dbdc Thanksgiving Day
> 11/22/2018  >aef85e3a51b452a5d4d1cd2458236f1e7988dbdc Thanksgiving Day
grep -i thanks ~/.calcurse/apts
Then with awk(1) you could get the hash/filename and then cat notes/...
If you really want to.
> Do you like my prompt? :)
Highly unrecognisable! It said Calcurse: command not found and I
got an file named 'cat'. I do like cats, but the file was sadly
Geophysical Institute, University of Bergen.
Bjerknes Centre for Climate Research. Uni Research Climate.
P.O. Box 7803, 5020 Bergen, Norway
☎ +47 555 828 66
💬 hulten@xxxxxxxxxxxxxxx (using OMEMO encryption)
Freedom to read — https://www.nature.com/articles/d41586-018-06178-7
Finally, punishment of researchers not open accessing is long overdue!