#!/bin/sh # # A script to generate a full path recursive listing # initially provided as a tool for Release_compare. # # The output is similar to ls -R, but with full path # and no CVS directory contents. # # CAUTION: This runs recursively. dir=${1} if [ ! -d $dir ] then echo $dir else contents="`ls -1 ${dir}`" for con in ${contents} do if [ ${con} = "CVS" ] then continue fi ${0} ${dir}/${con} done fi