#!/bin/bash set -xe : ${SED:="$(nix-build '' -A gnused --no-out-link)/bin/sed"} BASE_URL="https://lhapdfsets.web.cern.ch/lhapdfsets/current/" for pdf_set in `curl -L $BASE_URL 2>/dev/null | "$SED" -e "s/.*/dev/null | tr -d '\n' echo "\";" done