Bash trick of the day

Dan Ritter dsr at tao.merseine.nu
Mon Apr 2 06:45:09 EDT 2007


On Sun, Apr 01, 2007 at 10:24:44PM -0400, D Eric Chadbourne wrote:
> Hey David, thanks for the script!  One question, when I set,
> 
> cat /dev/video0 > /tmp/test_capture.mpg=$1
> 2=$2
> 
> it just keeps recording and doesn't stop in 120 seconds as expected.  I 
> use ctrl-c to stop capture.  Am I doing something incorrectly?  Thanks.

No. Why would you expect it to exit in 120 seconds?

-dsr-

-- 
.. .----. --   .-. . .- -.. .. -. --.   -.-- --- ..- .-.   -- .- .. .-.. .-.-.-   .-- .... ---   . .-.. ... .   .. ... ..--.. 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list