Automatic filename and editing with bash So this bash snippet generates copies of file IRC1.gjf to IRC2.gjf, etc etc