Code:
[root@ToshibaNote ~]# ./miniteste.sh 2>&1 >teste.log
+GCLI: 18
4355,33e2c,25,37
4375,33e3c,23,32
4373,33e47,17,21
4374,33e21,18,22
4353,33e17,12,10
4658,33e25,13,13
4728,33e1a,13,13
4372,33e16,12,11
4660,33e2a,7,6
4359,33e54,12,10
4356,33e35,8,2
4713,33e1e,12,10
4354,33e22,9,4
4357,33e3e,7,1
4720,33e45,8,2
4729,33e3f,6,-1
4736,33e41,6,-2
4712,33e50,5,-3
OK
[root@ToshibaNote ~]# cat teste.log
Tue 3 Dec 17:37:25 WET 2013
done