correction accent
This commit is contained in:
parent
d876265cde
commit
b1e434ac9a
@ -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 "" -)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user