[Remind-Fans] Asterisk on subject line when remind -k'mail ...' directory

Jon Fineman jon at fineman.me
Thu May 21 21:48:31 EDT 2020


On 2020-05-21 21:20, Dianne Skoll via Remind-fans wrote:
> 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 at lists.skoll.ca
> https://dianne.skoll.ca/mailman/listinfo/remind-fans
> Remind is at https://dianne.skoll.ca/projects/remind/
> 

Removing the double quotes produced this subject (much nicer):
reminder: ******************test msg today at 21:29******************

With test_msg.rem in its own directory I get the following subject:
remind_test: test msg today at 21:33

Reading Tim's note - yes the fgrep finds the asterisks in defs.rem in 
FSET msgprefix() and msgsuffix(). I have to track down how they are 
being called.

desktop(~/reminders)$: ls -1
abx.rem
birthdays.rem
defs.orig
defs.rem
exercise.rem
remail.sh
remind.vim
test_email.rem
test_msg.rem
todo.rem

I am using Openbsd 6.7 snapshot.

desktop(~/reminders)$: remind -h
REMIND 03.03.01 (English version) Copyright 1992-2020 Dianne Skoll

With these few changes it is working.

Thanks all.

Jon


More information about the Remind-fans mailing list