/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 vote309 views1 answer
- 12 votes243 views4 answers
- 0 vote195 views1 answer
- 1 vote217 views2 answers
- 1 vote182 views2 answers
- 0 vote183 views1 answer
- 1 vote181 views1 answer
- 3 votes177 views3 answers
- 0 vote185 views1 answer
- 0 vote174 views1 answer