From c26b095778aa67e3efdbc1c4279018cb782dde5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E6=B6=9B?= Date: Fri, 21 Jul 2017 09:54:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=B0=8F=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++++ gawk进阶/new | 8 -------- 理解输入和输出/newsh => newsh | 2 +- sed进阶/1.sh | 1 - sed进阶/2.sh | 1 - sed进阶/3.sh | 1 - sed进阶/4.sh | 1 - sed进阶/new | 8 -------- shell脚本编程进阶/问题跟踪数据库/new | 8 -------- 理解输入和输出/2.sh | 1 - 理解输入和输出/3.sh | 1 - 理解输入和输出/4.sh | 1 - 脚本函数/4.sh | 1 - 脚本函数/new | 8 -------- 14 files changed, 7 insertions(+), 41 deletions(-) delete mode 100644 gawk进阶/new rename 理解输入和输出/newsh => newsh (87%) delete mode 100644 sed进阶/1.sh delete mode 100644 sed进阶/2.sh delete mode 100644 sed进阶/3.sh delete mode 100644 sed进阶/4.sh delete mode 100644 sed进阶/new delete mode 100644 shell脚本编程进阶/问题跟踪数据库/new delete mode 100644 理解输入和输出/2.sh delete mode 100644 理解输入和输出/3.sh delete mode 100644 理解输入和输出/4.sh delete mode 100644 脚本函数/4.sh delete mode 100644 脚本函数/new 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