#ident "%W%" #!/usr/bin/ksh function showFile{ for tmpfile in $1/*; do echo $tmpfile done } showFile /tmp echo "Start to build package." echo "Success to build "
注意若是是由windows向unix目錄傳送文件時注意windows和unix的回車換行不一致問題。 shell