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

Jason Vinson jason.vinson at mindspring.com
Mon Mar 10 10:46:25 EST 2003


nevermind... i forgot the -s tag:

[jvinson][ejb]$ find . -name "*.jar" -print | tr -s '\n' ':'
./j2ee.jar:./nestportal-common.jar:./nestportal-dao.jar:./nestportal-ejb-service.jar:./nestportal-g1common.jar:./nestportal-R1[1].01.027-common-20030306.jar:./nestportal-R1[1].01.027-dao-20030306.jar:./nestportal-R1[1].01.027-ejb-general-20030306.jar:./nestportal-R1[1].01.027-ejb-ppd-20030306.jar:./nestportal-R1[1].01.027-ejb-service-20030306.jar:./nestportal-R1[1].01.027-ejb-types-20030306.jar:./nestportal-R1[1].01.027-ppd-20030306.jar:[jvinson][ejb]$ 

tr is cool... if you are replacing a single character that only exists once per line.

8^)
Jason
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list