浏览代码

Making language_chooser.sh ignores files/dirs that start with .

Vinicius Teshima 2 周之前
父节点
当前提交
2b889dd22a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      language_chooser.sh

+ 1 - 1
language_chooser.sh

@@ -15,7 +15,7 @@
 prob="$1"
 test -n "$prob" || { echo "Pass the problem number"; exit 1;}
 
-lang_frek="$(find . -maxdepth 1 -mindepth 1 -not -path './.git' -type d \
+lang_frek="$(find . -maxdepth 1 -mindepth 1 -not -path './.*' -type d \
     | parallel -j1 'find {} -maxdepth 1 -mindepth 1 -type f | wc -l | xargs echo {}' \
     | sort -k2)"