On Fri 11/9/18 16:02 -0500 Users of Remind wrote:
>On Fri, 09 Nov 2018 10:39:23 -0600
>[email protected] wrote:
>
>>     $ remind -z <( echo REM AT $(date --date "now +1 min" '+%H:%M') MSG 'hi 
>> \[#' )
>> /dev/fd/63(2): Illegal character `#'
>
>You can't escape a [.  The *only* way to get a literal [ in a reminder is
>as follows:
>
>REM MSG ##["["]##balancer
>
>That's kind of ugly, so you could do:
>
>SET b "##[##balancer"
>
>REM MSG [b]

Thanks Dianne.  Both solns are fine.

I tested one as shown:

    $ remind -z <( echo SET b \"##[##balancer\";echo REM AT $(date --date "now 
+1 min" '+%H:%M') MSG 'hi [b]' )
    hi ##[##balancer

--
Tom
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to