Re: [misc] Searching in calcurse

Donnie—

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 [1] >aef85e3a51b452a5d4d1cd2458236f1e7988dbdc Thanksgiving Day
> 11/22/2018 [1] >aef85e3a51b452a5d4d1cd2458236f1e7988dbdc Thanksgiving Day

Or:

    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
empty.  :-)

—Marco

-- 
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)
🕸	http://www.uib.no/personer/Marco.van.Hulten

Freedom to read — https://www.nature.com/articles/d41586-018-06178-7
Finally, punishment of researchers not open accessing is long overdue!

Links