在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
测试环境:ubuntu 12.04 php 5.3.x 复制代码 代码如下: #!/bin/bash #Program: # Accomplish to expand the specified function only one key #History: # 2013/11/15 pankai<[email protected]> first release test ! -f ./ext_skel && echo "The shell script of 'ext_skel' doesn't exist in current directory.\n" && exit 0 [ ! -d "skeleton" ] && echo "The directory of 'skeleton' doesn't exist in current directory.\n" && exit 0 #include "./ext_skel" read -p "Please input the extension name: " ext_name #echo -e "hello $ext_name" #The blank space is necessary |
请发表评论