/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 vote202 views1 answer
- 5 votes175 views1 answer
- 50 votes191 views6 answers
- 0 vote220 views1 answer
- 0 vote181 views1 answer
- 1 vote182 views1 answer
- 0 vote197 views1 answer
- 2 votes202 views6 answers
- 0 vote197 views1 answer
- 0 vote195 views1 answer