mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 23:33:00 +03:00
Merge pull request #2142 from JacobCWard/patch-5
[bash-jp/ja-jp] Corrected spelling. seperated -> separated
This commit is contained in:
commit
5930b4791f
@ -66,7 +66,7 @@ echo "Last program return value: $?"
|
||||
echo "Script's PID: $$"
|
||||
echo "Number of 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?"
|
||||
@ -117,7 +117,7 @@ echo "There are $(ls | wc -l) items here."
|
||||
echo "There are `ls | wc -l` items here."
|
||||
|
||||
# BashはJavaやC++のように、case文による分岐ができます
|
||||
case "$VARIABLE" in
|
||||
case "$VARIABLE" in
|
||||
#分岐条件として使いたいパターンを並べてください
|
||||
0) echo "There is a zero.";;
|
||||
1) echo "There is a one.";;
|
||||
|
Loading…
Reference in New Issue
Block a user