Just to combine this with Kyle's advice what you're after is either "\ " to denote spaces or the quotes like Kyle suggests e.g.

rmlsend "PP S1 1 1!"

or assuming I get my delimiters right:

rmlsend PP\ S1\ 1\ 1\!

the \<space> means this is a space in the current argument and not a new argument. But yeah Kyle's is easier to read by far.

You should then be able to look at syslog to see if Riv picks up the RML command.

On 2017-01-18 20:25, Steve Varholy wrote:
He's right. I used "/" as the delimiter. I also screwed up the S1

However, it still just responds with the help listing.

[rd@rdhost ~]$ rmlsend PP S1 1 1 !

 rmlsend [--to-host=<hostname>] [--to-port=<port>]
[<rml>|--from-file=<file>]

 Where <hostname> is the name or IP address of the host to send the
command to
 (default = localhost), <port> is the UDP port to to send the message
to
 (default = 5859), <rml> is any valid RML code and <file> is the name
of a file
 containing valid RML code. If '-' is specified as <file>, then
rmlsend will
 read the list of RML commands to be sent from standard input.

 When specifying RML code on the command line, it will likely be
necessary
 to escape any special characters (such as spaces or bang [!]
characters)
 to protect them from the shell.

 Examples:
 rmlsend LL TestLog!
 Send the RML command 'LL 1 TestLog!' to the local host.

 rmlsend --to-host=host.mydomain.com --to-port=5858
--from-file=test.rml
 Send the RML commands in 'test.rml' to the system at
'host.mydomain.com' at
 port 5858.

STEVE VARHOLY
 President and General Manager

The Historic Barringer Building

1338 Main Street - Suite 202

Columbia, South Carolina 29201

Office: (803) 753-7260 x 251

Direct: (803) 404-5535

Cell: (703) 585-2101

A Service of the Independent Media Foundation
-------------------------

FROM: [email protected]
<[email protected]> on behalf of Cowboy
<[email protected]>
 SENT: Wednesday, January 18, 2017 3:11:46 PM
 CC: [email protected]
 SUBJECT: Re: [RDD] Macro Help

On Wed, 18 Jan 2017 15:00:05 +0000
 Wayne Merricks <[email protected]> wrote:

 > The is a command line problem,

 No.
 It's a command line solution.

 You need a way to tell the system that a space is not a delimeter,
 as it always is, so the is the "escape" character.
 It tells the system that the very next single character is to be
 taken literally, and not by its normal meaning.
 The same "escape sequence" applies to all special characters that
 have dedicated meanings.
 *, ,the itself, etc.

 --
 Cowboy

 http://cowboy.cwf1.com [1]

 The trouble with heart disease is that the first symptom is often
hard
 to deal with: death.
 -- Michael Phelps

 _______________________________________________
 Rivendell-dev mailing list
 [email protected]
 http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev [2]


Links:
------
[1] http://cowboy.cwf1.com
[2] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to