/Shell/Bash/If the {string} part is omitted, it is considered as an empty string, and the matched pattern is deleted. The following command deletes all instances of the string ‘foo’ in the current line
If the {string} part is omitted, it is considered as an empty string, and the matched pattern is deleted. The following command deletes all instances of the string ‘foo’ in the current line
If the {string} part is omitted, it is considered as an empty string, and the matched pattern is deleted. The following command deletes all instances of the string ‘foo’ in the current line
0
Source: linuxize.com
- 2 votes137 views1 answer
- 0 vote168 views1 answer
- 0 vote159 views1 answer
- 1 vote109 views1 answer
- 0 vote139 views1 answer
- 1 vote173 views1 answer
- 0 vote152 views2 answers
- 24 votes159 views4 answers
- 6 votes179 views4 answers
- 1 vote136 views1 answer