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

Alan Young alansyoungiii at gmail.com
Tue Oct 17 15:20:13 EDT 2006


Mike Harris 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.

remind -s | cut -d '/' -f 1 --complement | tr -d '*' | tr -s ' '

My remind -s gives me the date with the '/' instead f the '-' you had.
Just replace the '/' above with '-'.

Assuming you have a bash shell.  This still leaves you with the previous
date entries though.  I couldn't find a command option that says "only
remind from now".



More information about the Remind-fans mailing list