summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bash.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash.html.markdown b/bash.html.markdown
index b1ceb098..cda877ad 100644
--- a/bash.html.markdown
+++ b/bash.html.markdown
@@ -75,7 +75,7 @@ echo ${Variable/Some/A} # => A string
# Substring from a variable
Length=7
echo ${Variable:0:$Length} # => Some st
-# This will return only the first 7 characters of the value
+# This will return 7 characters of the string, starting from the first char
# Default value for variable
echo ${Foo:-"DefaultValueIfFooIsMissingOrEmpty"}