On 2017-11-27 05:06, Selva Nair wrote:
On Sun, Nov 26, 2017 at 10:49 AM, Jonathan K. Bullard
<jkbull...@gmail.com> wrote:
This:
echo "msg This message"
echo "msg will be shown"
echo "msg"
echo "msg on four lines (the third line is empty)."
echo "msg-window the title"
That nicely solves the problem of when to display the message.
This seems to me to be a horrible solution that has been fixed in other
solutions for decades.
We're doing string processing at this point - so why can't we use
standard string formatters:
\n = new line
\r = new line
\t = tab
These have been standard for as long as I can remember - and I'm getting
on.
This would allow you to combine everything into a single command.
I feel it is a creep in the wrong direction to get the openvpn client to
piece together your message. If you want to display something, it should
be pieced together in your script, then sent to openvpn in a single,
well specified format.
It feels like getting openvpn to piece together what you really want is
a workaround to make any plugin script easier - and putting the
complexity into openvpn to compensate.
--
Steven Haigh
? net...@crc.id.au ? http://www.crc.id.au
? +61 (3) 9001 6090 ? 0412 935 897
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users