config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit ece76c448efc0eb3ce4b1cf3a144b843d286204c
parent 779ae9cf4fef71058caf68ba6f214ba2ab9ab5ab
Author: Jacob R. Edwards <n/a>
Date:   Thu, 17 Nov 2022 10:21:17 -0600

Remove concurrency from dl script

Diffstat:
Mlocal/bin/bin/dl | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/local/bin/bin/dl b/local/bin/bin/dl @@ -12,7 +12,6 @@ fn download { curl -SsL -^(z o)^$2 $1 if not curl -SsL -o $2 $1 - printf '%s (%s)\n' $1 $2 } ifs=' @@ -22,6 +21,8 @@ names = `{ urldecode | cleanpath | tr -d / } -for (i in `{ jot $#* }) - download $*($i) $names($i) & -wait +for (i in `{ jot $#* }) { + echo -n $names($i) '...' + download $*($i) $names($i) + echo ' done' +}