I'm trying to use the cmd-line texis executable to add another exclusion pattern to many search profiles at once. But I can't figure out how to specify the required newlines. Is this possible from the cmd-line? My query is something like this:
UPDATE options
SET String='the-new-content'
WHERE Name='SSc_excludepats'
I want 'the-new-content' to be three items on three lines:
/cgi-bin/
~
&printable
If I try this: "/cgi-bin/\n~\n&printable"
I get this:
100 Could not find field cgi-bin/\n~\n&printable in the function Evaluate
100 Could not update record
It seems that data must be in single quotes.
But if I try this: '/cgi-bin/\n~\n&printable'
It just updates the content with literal '\n' not a newline.
Is there a trick to this or am I out of luck?
Thanks.
UPDATE options
SET String='the-new-content'
WHERE Name='SSc_excludepats'
I want 'the-new-content' to be three items on three lines:
/cgi-bin/
~
&printable
If I try this: "/cgi-bin/\n~\n&printable"
I get this:
100 Could not find field cgi-bin/\n~\n&printable in the function Evaluate
100 Could not update record
It seems that data must be in single quotes.
But if I try this: '/cgi-bin/\n~\n&printable'
It just updates the content with literal '\n' not a newline.
Is there a trick to this or am I out of luck?
Thanks.