/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 vote126 views1 answer
- 0 vote128 views1 answer
- 1 vote141 views4 answers
- 0 vote131 views1 answer
- 15 votes150 views6 answers
- 0 vote120 views1 answer
- 2 votes176 views2 answers
- 12 votes178 views1 answer
- 1 vote91 views1 answer
- 2 votes127 views2 answers