On Sun Nov 3, 2024 at 2:53 AM CET, onf wrote: > changing the escape character hasn't occured to me, that's clever! > Unfortunately it doesn't work -- groff won't allow me to set the > escape character to a control one, and I cannot use some obscure > unicode glyph because it must be ASCII... I could disable escaping, > but that seems to break embedding comments etc. from what I've tried.
Ugh, I should have taken more time to reply -- I missed the fact that groff doesn't consider DEL a control character. Thanks for the hack, it works... I am dumbfounded that it doesn't trip when I try to test against the same character that's used as comparand delimiter either.[1] So thanks a lot! ~ onf [1] $ groff -bz -ww << EOF .ec $(printf '\x7f') .ds str1 ' .ds str2 '.ie '$(printf '\x7f')*[str1]'$(printf '\x7f')*[str2]' .tm equal .el .tm not equal EOF equal