change to bash to support [[ ]] syntax.

This commit is contained in:
Shuduo Sang 2020-06-01 13:22:07 +08:00
parent 5a068d8ebd
commit ed8e35767c
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "Executing clear.sh" echo "Executing clear.sh"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# if [ $# != 2 || $# != 3 ]; then # if [ $# != 2 || $# != 3 ]; then
# echo "argument list need input : " # echo "argument list need input : "

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# if [ $# != 4 || $# != 5 ]; then # if [ $# != 4 || $# != 5 ]; then
# echo "argument list need input : " # echo "argument list need input : "