r.f.e.

2016-03-03 Thread Jude DaShiell
This would have been cleaner had bash been able to wait until a command it was given had finished execution before doing its next command: #!/usr/bin/env bash # file: sonar.sh - download and test sonar gnome net and mate script echo "https://sourceforge.net/projects/sonargnulinux/files/sonar-mat

Re: r.f.e.

2016-03-03 Thread Charles Daffern
On 03/03/16 23:00, Jude DaShiell wrote: > This would have been cleaner had bash been able to wait until a > command it was given had finished execution before doing its next > command: Bash does that. However, you are passing wget the "--background" option, which explicitly works around this behavi

Re: r.f.e.

2016-03-03 Thread Ángel González
> On another note, you can pass the list of downloads without a > temporary > file: > > { >   echo http://example.com >   echo http://test.com > } | wget --input-file=- > Or, written even more cleanly: cat