#!/bin/bash d="$1" [ -d ../abat ] || mkdir ../abat i=1 cat >"../abat/$d-abat.ozlabs.ibm.com-$i" <"../abat/$d-abat.ozlabs.ibm.com-$i" <