BASH redirect & grep -v help needed

Smoot Carl-Mitchell smoot at tic.com
Wed Feb 18 21:27:12 UTC 2009


On Wed, 2009-02-18 at 21:12 +0000, dave selby wrote:

> dave at main-system:~$ motion -c
> /home/dave/kmotion2/core/motion_conf/motion.conf 2>&1 | grep -v 'saved
> to' >> xxx.out
> 
> dave at main-system:~$
> dave at main-system:~$
> dave at main-system:~$ cat xxx.out
> dave at main-system:~$
> 
> So any idea why xxx.out contains zsip instead of the above ?

No idea.  What happens without the stderr redirection?
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list