Closed GoogleCodeExporter closed 8 years ago
bsd sed doesn't support -u, but it does have a similar-ish -l option.
If you replace the -u with -l, does it work, and does it give you a
working progress bar when downloading?
Original comment by daniel.r...@gmail.com
on 8 Apr 2011 at 4:49
Line 358
sed -u 's/^.* \+\([0-9]\+%\) \+\([0-9,.]\+[GMKB]\) \+\([0-9hms,.]\+\).*$/\1\n#
Downloading... \2 (\3)/' | \
Replaced with:
sed -I 's/^.* \+\([0-9]\+%\) \+\([0-9,.]\+[GMKB]\) \+\([0-9hms,.]\+\).*$/\1\n#
Downloading... \2 (\3)/' | \
New error:
sed: -I or -i may not be used with stdin
Maybe a little hacky but if this is what I think and just a replace .. perl -e
should work on ALL os's
Original comment by paul.g.w...@googlemail.com
on 8 Apr 2011 at 5:30
Thanks for testing.
I will switch to perl for this bit then, I already depend on it in winetricks.
Alas, poor sed, I knew ye well.
Original comment by daniel.r...@gmail.com
on 8 Apr 2011 at 6:16
Fixed in svn, r462.
Original comment by daniel.r...@gmail.com
on 10 Apr 2011 at 12:55
Original issue reported on code.google.com by
paul.g.w...@googlemail.com
on 8 Apr 2011 at 4:36