[Remind-Fans] next 7 days -c+1
Jonathan Blake
jonathan at blakeclan.org
Fri May 9 12:40:18 EDT 2014
On Fri, May 9, 2014 at 8:28 AM, <hymie at lactose.homelinux.net> wrote:
>
> So I must be bored. I have a patch that allows you to specify (by
> number) which day you want to start on. Unfortunately, option processing
> is done before any calendaring is done, so I don't have a good way
> to automagically determine "today" and adjust the calendar accordingly.
>
> But if you know it's Friday, then
>
> $ rem -c+1 -m5
You should be able to use command substitution to find the day of the
week automatically:
$ rem -c+1 -m`date +%u`
--
Jonathan
More information about the Remind-fans
mailing list