/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
- 0 vote181 views1 answer
- 1 vote150 views1 answer
- 0 vote156 views1 answer
- 0 vote157 views1 answer
- 0 vote141 views1 answer
- 1 vote197 views2 answers
- 8 votes150 views2 answers
- 0 vote164 views1 answer
- 2 votes181 views1 answer
- 1 vote146 views1 answer