#!/bin/sh for name in `cat seglist` do echo "Working on $name" dd if=$name of=/dev/rmt/4hn bs=32k done