1
0

correction accent

This commit is contained in:
unfr 2025-05-12 20:23:41 +02:00
parent d876265cde
commit b1e434ac9a

View File

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