diff --git a/2207/天天乐学答案/源码/C语言-1/combine_c_files.sh b/2207/天天乐学答案/源码/C语言-1/combine_c_files.sh deleted file mode 100755 index 4120896..0000000 --- a/2207/天天乐学答案/源码/C语言-1/combine_c_files.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# ļ -output_file="combined.md" - -# ջ򴴽ļ -> "$output_file" - -# 1.c 20.c -for i in {1..20}; do - file="${i}.c" - - # ļǷ - if [[ -f "$file" ]]; then - # ӱ - echo "### C-${i}" >> "$output_file" - - # Ӵ鿪ʼ - echo '```c' >> "$output_file" - - # ļֱ׷ӵļΪ GB2312 룩 - cat "$file" >> "$output_file" - - # Ӵ - echo '```' >> "$output_file" - - # һ - echo "" >> "$output_file" - else - echo "ļ $file ڣ" - fi -done \ No newline at end of file