Closed mefengl closed 1 year ago
basically, just copy from the official, and for d in ./resources/questions/*/ ; do (cd "$d" ; for file in ./*.ts; do mv "$file" "${file%.*}.tc"; done); done 不是很明白为什么后缀需要是tc,是ts感觉都不用改了?
for d in ./resources/questions/*/ ; do (cd "$d" ; for file in ./*.ts; do mv "$file" "${file%.*}.tc"; done); done
感谢。
因为tc是type challenge的缩写。
basically, just copy from the official, and
for d in ./resources/questions/*/ ; do (cd "$d" ; for file in ./*.ts; do mv "$file" "${file%.*}.tc"; done); done
不是很明白为什么后缀需要是tc,是ts感觉都不用改了?