#!/bin/bash set -eu input=$1 parameters=$2 template=$3 output=$4 cp ${template} ${output} transform-li-current-a () { local old="