/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
- 23 votes186 views1 answer
- 0 vote184 views1 answer
- 88 votes190 views6 answers
- 8 votes208 views2 answers
- 0 vote180 views1 answer
- 1 vote225 views1 answer
- 0 vote195 views1 answer
- 12 votes179 views5 answers
- 0 vote188 views1 answer
- 0 vote180 views1 answer