#!/bin/sh for i in `cat zx` do ls -la $i echo "END OF $i" # $1 First argument echo "$1" done