rock
04-18-2003, 08:29 AM
I'm building a script to do some work for me, including creating files to index by a local search engine. I've got something that works about perfectly, but it uses the "tree" command (Red Hat 7.2).
The build is that our devel area is on Solaris and some developers use Windows too. This script is very far from portable to other platforms. Even the DOS tree doesn't have the required switches (-fi).
First, does anyone know of a tree command for Solaris?
Second, is there another command I could use to get the full path to a file. For example, with this command:tree -fi ../../classes/com/ | grep \\.java > jlist I get a nice list of all java source files relative to the current directory. Is there another way to do this?
Thanks.
The build is that our devel area is on Solaris and some developers use Windows too. This script is very far from portable to other platforms. Even the DOS tree doesn't have the required switches (-fi).
First, does anyone know of a tree command for Solaris?
Second, is there another command I could use to get the full path to a file. For example, with this command:tree -fi ../../classes/com/ | grep \\.java > jlist I get a nice list of all java source files relative to the current directory. Is there another way to do this?
Thanks.