#!/bin/sh ls -l | grep ^d | tr -s " " " " | cut -d" " -f9|while read rep do echo "----------"$rep ls $rep done