diff --git a/autopost/analyzer.sh b/autopost/analyzer.sh index 11f13b4..84df755 100755 --- a/autopost/analyzer.sh +++ b/autopost/analyzer.sh @@ -7,7 +7,7 @@ fi nzbFilePath="$1" if [ ! -f "$nzbFilePath" ]; then - echo "Fichier NZB non trouvé." >&2 + echo "Fichier NZB indisponible." >&2 exit 1 fi @@ -61,7 +61,7 @@ if [ -n "$sizes" ]; then fi filesize=$(format_bytes "$totalSize") -# Extraction et concaténation des groupes (uniques) +# Extraction et concatenation des groupes (uniques) groups=$(grep -Po '\K.*?(?=)' "$nzbFilePath") GROUP=$(echo "$groups" | sort -u | paste -sd "" -)