[Remind-Fans] Parsing Remind's "-s" Simple Output

@@ aa at enseignant.com
Tue Oct 17 18:23:47 EDT 2006


On 10/17/06, remind-fans-request at whatexit.org
<remind-fans-request at whatexit.org> wrote:

> Remind's -s flag returns events in this format (for me):
>
> YYYY-MM-DD * * * * Event description.
>
> I'd like to be able to parse this into:
>
> MM-DD Event description.

Try this (when ~/.events is my reminders text file):

remind -n -q -b1 ~/.events|sed '/?/d'|sed '/ se /d'|sort|sed -e
's/^[0-9][0-9]*\/\([0-9][0-9]*\)\/\([0-9][0-9]*\)/\2\/\1/'


-------
 @@
-------



More information about the Remind-fans mailing list