#!/bin/bash while [ $# -gt 0 ] do par2repair "$1" shift done