File dd_rhelp_EOF.diff of Package dd_rescue

Index: dd_rhelp-0.1.2/dd_rhelp
===================================================================
--- dd_rhelp-0.1.2.orig/dd_rhelp
+++ dd_rhelp-0.1.2/dd_rhelp
@@ -906,7 +906,7 @@ fi
 
 string="^Summary for $infile -> $outfile:"
 infoline="^dd_rescue: (info):"
-eofstring="$infoline $infile ([0-9]\+\.[0-9]k): EOF\$"
+eofstring="$infoline .* ([0-9]\+\.[0-9]k): EOF.*\$"
 nb_stars=$[ $bar_lines * $COLUMNS ] # nb of char to display progress bar...
 
 #
@@ -991,7 +991,7 @@ function get_valid_dd_rescue() {
 function get_eof()
 {
 
-  eoflines="$("${cat}" "$logfile" | "${tr}" -d "\\r" | "${grep}" "$eofstring" | "${sed}" 's/^dd_rescue: (info): .* (\([0-9\.]\+\)k): EOF$/\1/g')"
+  eoflines="$("${cat}" "$logfile" | "${tr}" -d "\\r" | "${grep}" "$eofstring" | "${sed}" 's/^dd_rescue: (info): .* (\([0-9\.]\+\)k): EOF.*$/\1/g')"
 
   eof="nothing"
 
openSUSE Build Service is sponsored by