diff --git a/cp_sh b/cp_sh index d316338..99d9937 100755 --- a/cp_sh +++ b/cp_sh @@ -15,6 +15,7 @@ md5_tmp=`mktemp` freenow=0 cat "$md5" > "$md5_tmp" +sed -i '/^$/d' "$md5_tmp" cat "$md5_tmp" | while read line; do file_orig="$(echo $line | cut -c 33- | sed -r -e "s/^[\ ]//g")" file_size=$(du "$file_orig" | cut -f 1)