DoxygenのJavaDocスタイル採用
#!/bin/sh KEY_LIST="file author brief details param return" FILE_LIST=`find . -name "*.[c|h]"` for KEY in $KEY_LIST do echo '===========================================' echo $KEY echo '===========================================' for FILE in $FILE_LIST do echo "\t"$FILE SEDCMD="s/\\\\$KEY/@$KEY/g" sed -i -e "$SEDCMD" $FILE done done
Details