On 12/15/10 Wed  Dec 15, 2010  8:05 AM, "Mike Martin" <redt...@gmail.com>
scribbled:

> Hi
> 
> I am trying pass a perl one-liner to at intact eg:
> 
> echo 'perl -mLinux::DVB::DVBT -e 'my
> $dvb=Linux::DVB::DVBT->new(O_NONBLOCK,'O_RDONLY');$dvb->set_frontend('frequenc
> y'
> => '497167000','tsid' => '4222');my $file="/storage/burn/testol";my
> $ref={pmt=>'10'};$dvb->set_demux(101,102);$dvb->record($file,"00:10",$ref);
> '
> 
> The aim is to run the one-liner from at
> 
> However echo strips the quotes so the command fails to run
> 
> any ideas or alternative approaches

Put the call to perl in a shell script and schedule that. Don't fixate on
writing a one-liner. You don't really have a one-liner, and putting all of
your statements on one line accomplishes little.




-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to