From 69474bafc0d39135f537512a6b359c612747d7a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 1 Jul 2018 23:55:14 +0200 Subject: [PATCH] typos --- file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.sh b/file.sh index aaa3723..90e8f9c 100755 --- a/file.sh +++ b/file.sh @@ -70,7 +70,7 @@ FILE(){ case "$range" in *-) range="${range}$((file_size - 1))";; -*) [ ${range#-} -le $file_size ] \ - && range="$((file-size - ${rang#-}))-$((file_size - 1))" \ + && range="$((file_size - ${range#-}))-$((file_size - 1))" \ || range="0-$((file_size - 1))";; *-*) [ ${range#*-} -ge $file_size ] \ && range="${range%-*}-$((file_size - 1))";; -- 2.39.2