[ale] why isn't this working? (tr question)

Jason Vinson jason.vinson at mindspring.com
Mon Mar 10 10:27:16 EST 2003


I am trying to compile a java program from the command line, and I am being lazy^H^H^H^Hcreative with my classpath, so I do this:

javac -classpath ".:j2ee.jar:`find . -name "*.jar" -print | tr '\n'':'`" Tester.java

which doesn't find my classes, which i know exist.  So i trim out the find function as so:

find . -name "*.jar" -print | tr '\n'':' 

but it returns a normal find output (i.e. file\n file\n file\n).

why doesn't the tr replace the newlines with :  ?

TIA,
Jason
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list