I think the article on this website is a good example.
http://www.codeproject.com/KB/recipes/PolymorphismC.aspx
I think the article on this website is a good example.
http://www.codeproject.com/KB/recipes/PolymorphismC.aspx
shell腳本獲取腳本所在目錄 執行腳本的父目錄不一定是當前的工作目錄。 url=$(dirname $(readlink -f $0))