diff --git a/clean_log.sh b/clean_log.sh index d663ca5..4814662 100755 --- a/clean_log.sh +++ b/clean_log.sh @@ -66,7 +66,7 @@ fi if [ -z "$4" ] then myfunc() { - basename -a "$foldersource"/* | cut -d_ -f2 | uniq + basename "$foldersource"/* .txt | cut -d_ -f2 | uniq } perso="$(myfunc)" else perso="$4"