Open Source implementation of APCO P25
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
op25/scripts/do_sedpy.sh

23 lines
460 B

#! /bin/sh
me=$0
py=`find . -type f -name '*.py' | grep -v doxy`
files=`grep -l 'filter\.firdes\.WIN_' $py`
for f in $files; do
echo $me editing $f
sed -i 's/filter\.firdes\.WIN_/fft.window.WIN_/' $f
done
files=`grep -l 'gr\.msg_queue' $py`
for f in $files; do
echo $me editing $f
sed -i 's/gr\.msg_queue/op25.msg_queue/' $f
done
files=`grep -l 'gr\.message' $py`
for f in $files; do
echo $me editing $f
sed -i 's/gr\.message/op25.message/' $f
done