in reply to
Re^4: listing all subdirectories of directory into file
in thread listing all subdirectories of directory into file
If you look at his spec, he wants more than one "out" file. In each directory, he wants a file named 'list' that contains a list of every subdirectory of that directory. So in a directory structure like the following, you would get 'list' files like so:
$ find . -ls|cut -b14-24,68-
$ cat list
$ cat a/list
Available for small or large Perl jobs; see my home node.