Marcus Brinkmann writes: > I need something that returns an error code if the directory is empty but > does return 0 if it is non-empty. [ `ls -1 $dir` ] -- John Hasler john@dhh.gt.org (John Hasler) Dancing Horse Hill Elmwood, WI