mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
fix spelling errors
This commit is contained in:
parent
4d15063710
commit
8909457ae4
@ -56,7 +56,7 @@ echo '$Variable'
|
||||
|
||||
# String substitution in variables
|
||||
echo ${Variable/Some/A}
|
||||
# This will substitute the first occurance of "Some" with "A"
|
||||
# This will substitute the first occurence of "Some" with "A"
|
||||
|
||||
# Substring from a variable
|
||||
Length=7
|
||||
@ -74,7 +74,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..."
|
||||
|
||||
# Reading a value from input:
|
||||
echo "What's your name?"
|
||||
|
Loading…
Reference in New Issue
Block a user