[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: johnb-sender
- Subject: Re: johnb-sender
- From: rleong1
- Date: Mon, 12 Apr 2004 16:44:00 +0000
--- In <a
href="/group/ukha_xpl/post?postID=r6ZmQszaNP6WMKW-QZtsTa_kBBd53hrXVaE7bbcmy7cPJvBD3xEObJXucasFfbPWIreuUu52XvIyZjriHPXaeQ">ukha_xpl@xxxxxxx</a>,
"John B" <home-automation@j...> wrote:
> > argh. it's because i'm trying to run it from a perl script. perl
> > doesn't seem to like passing along those \n to system commands. i
> > have it now calling a batch file which calls xplsend. roundabout
but
> > it works.
>
> You should be able to get it to work directly from within Perl by
using \\n (i.e. double up the backslash).
> Perl should correctly unescape this to \n.
>
> HTH,
>
> John
i tried that but it doesn't work.
if i call it with:
`xplsend ... command=write\\ntext=abc`;
the xplhal log shows
command=writentext=abc
if i send \n instead of \\n, it shows only
command=write
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|