n 10/24/20 11:44 AM, Fred Gleason wrote:
> On Oct 24, 2020, at 12:05, Tim Camp <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> RMLSend touch does indeed work, file is created.
>> our scripts do not
>> another simple command such as RN echo "something" > file! does not.
> 
> Likely it's the STDOUT redirection that’s the problem. Those redirection 
> operators (‘<‘, ‘>’, ‘|’, etc) are part of bash(1), not echo(1).
> 
> Try something like ‘RN sh -c echo something > file!’ (You may have to 
> escape the strings following the echo; I don’t have Rivendell loaded up 
> at the moment to test here).

Knowing a bit about shell quoting, I suggest the following if Fred's 
suggestion above does not work for you Tim:

     RN /bin/sh -c "echo something > /tmp/your-filename-here"

My understanding of the "-c" option to most shells (from reading `man 
bash`, etc.) is that they expect a complete command as a single, quoted 
argument, especially if you want the invoking shell (/bin/sh in this 
case) to perform the redirection.

Hoping your mystery is getting closer to being solved!

   ~David

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

Reply via email to