diff options
author | Tucker Boniface <tucker@boniface.tech> | 2018-10-02 19:22:56 -0700 |
---|---|---|
committer | Tucker Boniface <tucker@boniface.tech> | 2018-10-02 20:20:06 -0700 |
commit | 9152fe00e54b51ddebaeed9929a3027547cb16a5 (patch) | |
tree | e36776447307a1e48a0b49cbcc597acf9db9de73 | |
parent | 67f785f10212ca827f25c83cfaa9dddc607a35c6 (diff) |
[bash/en] clarify range of substring
-rw-r--r-- | bash.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash.html.markdown b/bash.html.markdown index cb805da7..be879538 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"} |