/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
- 1 vote159 views1 answer
- 11 votes160 views2 answers
- 0 vote181 views1 answer
- 105 votes162 views6 answers
- 0 vote231 views1 answer
- 4 votes189 views2 answers
- 70 votes179 views6 answers
- 0 vote163 views1 answer
- 0 vote178 views1 answer
- 0 vote169 views1 answer