Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
dd_rescue
dd_rhelp_EOF.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dd_rhelp_EOF.diff of Package dd_rescue
Index: dd_rhelp-0.0.6/src/dd_rhelp-sh =================================================================== --- dd_rhelp-0.0.6.orig/src/dd_rhelp-sh +++ dd_rhelp-0.0.6/src/dd_rhelp-sh @@ -191,9 +191,9 @@ fi # regexp for parsing the log file. 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... # # === Functions @@ -314,9 +314,9 @@ function bc_calc () # or 'nb' where nb is best EOF found 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" for i in $eoflines
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor