diff --git a/README.md b/README.md index 21794ab..7e19832 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # shell 2016-05-12 ~ 2016-05-22 所有案例均出自《Linux命令行与shell脚本编程大全案例》一书,作为学习shell的一个见证 + +大家有什么好的通用脚本可以发出来啊 + +注释详细点,最好用中文,谢谢各位哈 + +^_^ diff --git a/gawk进阶/new b/gawk进阶/new deleted file mode 100644 index c7cbc45..0000000 --- a/gawk进阶/new +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -for (( i=1; i<=4; i++ )) -do - touch $i.sh - chmod 764 $i.sh - echo "#!/bin/bash" > $i.sh -done diff --git a/理解输入和输出/newsh b/newsh similarity index 87% rename from 理解输入和输出/newsh rename to newsh index e71a171..0e00394 100644 --- a/理解输入和输出/newsh +++ b/newsh @@ -1,6 +1,6 @@ #!/bin/bash -#创建10个sh +#创建4个sh for (( i=1; i<=4; i++)) do diff --git a/sed进阶/1.sh b/sed进阶/1.sh deleted file mode 100644 index a9bf588..0000000 --- a/sed进阶/1.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/sed进阶/2.sh b/sed进阶/2.sh deleted file mode 100644 index a9bf588..0000000 --- a/sed进阶/2.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/sed进阶/3.sh b/sed进阶/3.sh deleted file mode 100644 index a9bf588..0000000 --- a/sed进阶/3.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/sed进阶/4.sh b/sed进阶/4.sh deleted file mode 100644 index a9bf588..0000000 --- a/sed进阶/4.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/sed进阶/new b/sed进阶/new deleted file mode 100644 index c7cbc45..0000000 --- a/sed进阶/new +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -for (( i=1; i<=4; i++ )) -do - touch $i.sh - chmod 764 $i.sh - echo "#!/bin/bash" > $i.sh -done diff --git a/shell脚本编程进阶/问题跟踪数据库/new b/shell脚本编程进阶/问题跟踪数据库/new deleted file mode 100644 index c7cbc45..0000000 --- a/shell脚本编程进阶/问题跟踪数据库/new +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -for (( i=1; i<=4; i++ )) -do - touch $i.sh - chmod 764 $i.sh - echo "#!/bin/bash" > $i.sh -done diff --git a/理解输入和输出/2.sh b/理解输入和输出/2.sh deleted file mode 100644 index a9bf588..0000000 --- a/理解输入和输出/2.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/理解输入和输出/3.sh b/理解输入和输出/3.sh deleted file mode 100644 index a9bf588..0000000 --- a/理解输入和输出/3.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/理解输入和输出/4.sh b/理解输入和输出/4.sh deleted file mode 100644 index a9bf588..0000000 --- a/理解输入和输出/4.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/脚本函数/4.sh b/脚本函数/4.sh deleted file mode 100644 index a9bf588..0000000 --- a/脚本函数/4.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/脚本函数/new b/脚本函数/new deleted file mode 100644 index c7cbc45..0000000 --- a/脚本函数/new +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -for (( i=1; i<=4; i++ )) -do - touch $i.sh - chmod 764 $i.sh - echo "#!/bin/bash" > $i.sh -done