On Friday 18 October 2013 23:21, Harald Becker wrote:
> Hi Tito !
> 
> IMO you got the best solution, ...
> 
> >one more solution without the need to modify scripts is to
> >create a wrapper to wget:
> >
> >#!/bin/sh
> >busybox wget -T xxx $@
> 
> ... except, I would do an exec here:
> 
> #!/bin/sh
> exec busybox wget -T xxx $@

(bike shed painting fest, can't resist to join)

Also it's better to expand argumanet properly wrt whitespace -
use "$@", not $@:

exec busybox wget -T xxx "$@"
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to