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.
6 lines
163 B
6 lines
163 B
13 years ago
|
#!/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
|