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

mainwizard at vei.net mainwizard at vei.net
Mon Mar 10 15:15:02 EST 2003


Check the nesting on your quotes.
Ed.


----- Original Message -----
From: Jason Vinson
Sent: 3/10/2003 5:27:16 AM
To: ale at ale.org
Subject: [ale] why isn't this working? (tr question)

> 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
> 

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






More information about the Ale mailing list