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.
tqtinterface/qtinterface/tqt-replace

18 lines
287 B

#!/bin/bash
QT_VER=3
if [[ $1 == "" ]]; then
echo "Usage: tqt-replace <input_file>"
else
if [[ $QT_VER == 3 ]]; then
sed -i 's/TQ\([^T]\)/Q\1/g' "$1"
sed -i 's/TQT\([^_]\)/QT\1/g' "$1"
exit 0
fi
if [[ $QT_VER == 4 ]]; then
echo "ERROR: Not Yet Implemented"
exit 1
fi
fi