[bash-jp/ja-jp] Corrected spelling. seperated -> separated

This commit is contained in:
Jacob Ward 2016-02-17 22:23:30 -07:00
parent 8dc3329730
commit 97cbeab835

View File

@ -66,7 +66,7 @@ echo "Last program return value: $?"
echo "Script's PID: $$" echo "Script's PID: $$"
echo "Number of arguments: $#" echo "Number of arguments: $#"
echo "Scripts arguments: $@" echo "Scripts arguments: $@"
echo "Scripts arguments seperated in different variables: $1 $2..." echo "Scripts arguments separated in different variables: $1 $2..."
# 入力値の読み込み # 入力値の読み込み
echo "What's your name?" echo "What's your name?"
@ -117,7 +117,7 @@ echo "There are $(ls | wc -l) items here."
echo "There are `ls | wc -l` items here." echo "There are `ls | wc -l` items here."
# BashはJavaやC++のように、case文による分岐ができます # BashはJavaやC++のように、case文による分岐ができます
case "$VARIABLE" in case "$VARIABLE" in
#分岐条件として使いたいパターンを並べてください #分岐条件として使いたいパターンを並べてください
0) echo "There is a zero.";; 0) echo "There is a zero.";;
1) echo "There is a one.";; 1) echo "There is a one.";;