Comment

Comment by chriswarbo

GNU parallel is also really good for replacing loops with concurrency. Your example might look something like:

    for app in $apps; do
      echo "Installing NPMs on $app..." 1>&2
      echo "$app"
    done | parallel --will-cite "cd $REPO/{} && npm install"
parent chriswarbo 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton