[Remind-Fans] Asterisk on subject line when remind -k'mail ...' directory
Dianne Skoll
dianne at skoll.ca
Thu May 21 21:20:34 EDT 2020
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.
More information about the Remind-fans
mailing list