/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
- 2 votes177 views2 answers
- 0 vote100 views1 answer
- 14 votes86 views3 answers
- 1 vote49 views1 answer
- 55 votes100 views5 answers
- 0 vote340 views1 answer
- 20 votes137 views6 answers
- 0 vote111 views1 answer
- 0 vote101 views1 answer
- 1 vote98 views1 answer