On Sat, Nov 5, 2011 at 13:16, <[email protected]> wrote:
> * Troels Henriksen <[email protected]> [2011-11-05 12:51]:
>> There is a fix for this that involves using the
>> webkit_download_get_suggested_filename function and passing it to wget's
>> -O option, but I can't figure out how to prevent clobbering of an
>
> that might work?
> fn=$result_of_webkit_download_get_suggested_filename;
> while test -e $fn; do fn="$fn".1; done;
> wget -O $fn ...
I'm afraid not. I tested it quickly for the same vim.org issue:
webkit_download_get_suggested_filename(o)
returned "download_script.php" instead of, in this case, "TagmaBufMgr.zip".