diff options
Diffstat (limited to 'conversions/qt3-tqt3/convert_qt_itself_qt3_helper')
-rwxr-xr-x | conversions/qt3-tqt3/convert_qt_itself_qt3_helper | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/conversions/qt3-tqt3/convert_qt_itself_qt3_helper b/conversions/qt3-tqt3/convert_qt_itself_qt3_helper new file mode 100755 index 0000000..2e8c97d --- /dev/null +++ b/conversions/qt3-tqt3/convert_qt_itself_qt3_helper @@ -0,0 +1,5 @@ +#!/bin/bash + +cd $1 +ls -d * | sed 's/^q\(.*\)\.h\(.*\)$/mv "&" "tq\1\.h\2"/' | grep mv | sh +ls -d * | sed 's/^q\(.*\)\.c\(.*\)$/mv "&" "tq\1\.c\2"/' | grep mv | sh |