Blame |
    Last modification |
    View Log
    | RSS feed
  
  
#! /bin/bash
 
 
 
#fname=$1
 
#num_events=$2
 
 
 
#./addheader $fname 1 $num_events 0 0 0 0 0 0
 
#./addheader $fname 3 0 0 0 0 0 0
 
#./daq $fname $num_events
 
#./addheader $fname 2
 
 
 
position=`./mikro_ctrl -a | grep -o '[[:digit:]]*' | awk -F : '{if(NR==2 || NR==5){print $1}}'`
 
#pos_x=${position}[0]
 
#pos_y=${position}[1]
 
#echo "position x = " $pos_x " position y = " $pos_y
 
echo $position >> test.txt