diff options
author | Tom Rondeau | 2011-03-20 12:31:10 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-03-20 12:31:10 -0400 |
commit | 972fc99ad6984e50731ec0dd97ccfec71829139b (patch) | |
tree | dcbbe06ca254169c122b88600816e504643880dc /volk/libvector_replace.sh | |
parent | 3c3aff088447942053e96ae30b766b00d4cd0202 (diff) | |
parent | 4d1426b8db5be20583a6efb380d564a55a28fd09 (diff) | |
download | gnuradio-972fc99ad6984e50731ec0dd97ccfec71829139b.tar.gz gnuradio-972fc99ad6984e50731ec0dd97ccfec71829139b.tar.bz2 gnuradio-972fc99ad6984e50731ec0dd97ccfec71829139b.zip |
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'volk/libvector_replace.sh')
-rwxr-xr-x | volk/libvector_replace.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/volk/libvector_replace.sh b/volk/libvector_replace.sh new file mode 100755 index 000000000..4c7e33e1b --- /dev/null +++ b/volk/libvector_replace.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +cd $1 +files=`ls` +for file in $files +do + sed 's/libvector/volk/g' < $file > tempfile + sed 's/LIBVECTOR/VOLK/g' < tempfile > $file +done +for file in $files +do + echo $file > tempfile + newfile=`sed 's/libvector/volk/g' < tempfile` + if (test "$file" != "$newfile"); then + mv $file $newfile + echo "changed $file to $newfile" + fi +done |