Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Oct 25, 2018
1 parent e63d8b3 commit afdc023
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
## 1.5.0

- `region`: A region for specific purpose (functions, variables...)
- string manipluation
- string manipulation
- `string length`: length of string in characters.
- `string trim`: remove leading and trailing white space(s).
- `string trim left`: remove leading white space(s).
- `string trim right`: remove trailing white space(s).
- `string trimm all`: remove all white space(s).
- `string replace`: find all occurences of a substrings and replace them.
- `string trim all`: remove all white space(s).
- `string replace`: find all occurrences of a substrings and replace them.
- `string reverse`: reverse string characters.
- `string toLower`: convert string to lowercase.
- `string toUpper`: convert string to uppercase.
Expand Down
2 changes: 1 addition & 1 deletion COMMANDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ trimmed=`echo -e "${var}" | tr -d '[[:space:]]'`

## `string replace`

find all occurences of a substrings and replace them [↑](#Commands)
find all occurrences of a substrings and replace them [↑](#Commands)

```bash
replaced=`echo -e "${var}" | sed -e 's/find/replace/g'`
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ Call function which is declared by `fn...`
### 1.5.0

- `region`: A region for specific purpose (functions, variables...)
- string manipluation
- string manipulation
- `string length`: length of string in characters.
- `string trim`: remove leading and trailing white space(s).
- `string trim left`: remove leading white space(s).
- `string trim right`: remove trailing white space(s).
- `string trimm all`: remove all white space(s).
- `string replace`: find all occurences of a substrings and replace them.
- `string trim all`: remove all white space(s).
- `string replace`: find all occurrences of a substrings and replace them.
- `string reverse`: reverse string characters.
- `string toLower`: convert string to lowercase.
- `string toUpper`: convert string to uppercase.
Expand Down
2 changes: 1 addition & 1 deletion snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"string_replace": {
"prefix": "string replace",
"body": "${1:replaced}=`echo -e \"\\${${2:var}}\" | sed -e 's/${3:find}/${4:replace}/g'`",
"description": "find all occurences of a substrings and replace them"
"description": "find all occurrences of a substrings and replace them"
},
"string_reverse": {
"prefix": "string reverse",
Expand Down

0 comments on commit afdc023

Please sign in to comment.