Mac, Music and Programming
#!/bin/sh CLASSPATH=`find lib -name *.jar|xargs|sed "s/ /:/g"` CLASSPATH=".:$CLASSPATH" echo $CLASSPATH
#!/bin/sh CLASSPATH=. for file in lib/*; do CLASSPATH=${CLASSPATH}:$file; done echo $CLASSPATH
張貼留言
沒有留言:
張貼留言