I'm using rxvt-unicode, version 9.22, as a terminal emulator, and configure it with the file ~/.Xresources.
When I modify the configuration file, to see the effects immediately I execute the command:
xrdb ~/.Xresources
From man xrdb:
Lines that begin with an exclamation mark (!) are ignored and may be used as comments.
On my machine, with xrdb version 1.1.0, when a commented line contains an odd number of single quotes, for example ! it's a comment, xrdb complains with an error such as:
/home/user/.Xresources:1:5: warning: missing terminating ' character
! it's a comment
^
Currently, I double the single quotes to avoid this error:
! it''s a comment
I think I could also use /* */, instead of !, because it's the comment string used by default by Vim (defined in $VIMRUNTIME/ftplugin/xdefaults.vim). But I would prefer using !, because I find comments a little more readable with it.
Is there a way to ask xrdb to ignore single quotes inside the commented lines of ~/.Xresources?