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

Hauke Hansen H_Hansen at web.de
Tue Oct 17 16:59:42 EDT 2006


On Tue, October 17, 2006 17:46, Mike Harris wrote:
> I'm seeking some help with what I expect is simple text manipulation ...
> but nevertheless some skills that are -slightly- above my head right now.
>
>
> 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.

Using the -n flag shows the next reminders.
Maybe its not exactly what you are looking for because its not just for
the actual month.

remind -n  ~/.reminders  | sort | head -12 | cut -d '/' -f1 --complement
shows the next 12 reminders in the future.




More information about the Remind-fans mailing list