mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
Fix/change two instances of "lowercase"
Signed-off-by: oct8l <gitmail@oct8l.email>
This commit is contained in:
parent
fc8ae81e23
commit
95f0c607d5
@ -52,7 +52,7 @@ Ctrl + x + Ctrl + e : launch editor define by $EDITOR
|
|||||||
Esc + u
|
Esc + u
|
||||||
# converts text from cursor to the end of the word to uppercase.
|
# converts text from cursor to the end of the word to uppercase.
|
||||||
Esc + l
|
Esc + l
|
||||||
# converts text from cursor to the end of the word to case.
|
# converts text from cursor to the end of the word to lowercase.
|
||||||
Esc + c
|
Esc + c
|
||||||
# converts letter under the cursor to uppercase.
|
# converts letter under the cursor to uppercase.
|
||||||
```
|
```
|
||||||
@ -1053,7 +1053,7 @@ echo ${var[@]#0}
|
|||||||
grep ${test// /\\\|} file.txt
|
grep ${test// /\\\|} file.txt
|
||||||
# turning the space into 'or' (\|) in grep
|
# turning the space into 'or' (\|) in grep
|
||||||
```
|
```
|
||||||
##### To change the case of the string stored in the variable to lower case (Parameter Expansion)
|
##### To change the case of the string stored in the variable to lowercase (Parameter Expansion)
|
||||||
```bash
|
```bash
|
||||||
var=HelloWorld
|
var=HelloWorld
|
||||||
echo ${var,,}
|
echo ${var,,}
|
||||||
|
Loading…
Reference in New Issue
Block a user