Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
146 f9daq 1
#! /bin/bash
2
 
3
#fname=$1
4
#num_events=$2
5
 
6
#./addheader $fname 1 $num_events 0 0 0 0 0 0
7
#./addheader $fname 3 0 0 0 0 0 0
8
#./daq $fname $num_events
9
#./addheader $fname 2
10
 
11
position=`./mikro_ctrl -a | grep -o '[[:digit:]]*' | awk -F : '{if(NR==2 || NR==5){print $1}}'`
12
#pos_x=${position}[0]
13
#pos_y=${position}[1]
14
#echo "position x = " $pos_x " position y = " $pos_y
15
echo $position >> test.txt