Hi,

On 2020-05-21 21:03, Jon Fineman wrote:

> remind -f -z5 -k'mail -s "reminder: %s" jjf </dev/null >/dev/null 2>&1' 
> ~/reminders

> produces the subject:
> reminder: \\\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\\test\ msg\ today\ at\
> 20\:50\\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\\

> vs

> remind -f -z5 -k'mail -s "reminder: %s" jjf </dev/null >/dev/null 2>&1'
> test_msg.rem

> produces the subject:
> reminder: test\ msg\ today\ at\ 20\:50

> test_msg.rem contains:
> REM Thur AT 20:50 MSG test msg %e %3

> I have isolated the difference to using a directory vs a file name.

I can't replicate that.  What's in ~/reminders ?  What version of Remind?
In any event, it's a bad idea to enclose the argument to -s in quotes.
I think it's better to use -k'mail -s reminder:\ %s' so Remind's shell
escaping doesn't mess up the subject with extraneous backslashes.

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
Remind-fans@lists.skoll.ca
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to