/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
- 4 votes137 views1 answer
- 0 vote134 views1 answer
- 0 vote154 views1 answer
- 0 vote173 views1 answer
- 1 vote91 views1 answer
- 0 vote132 views1 answer
- 0 vote131 views1 answer
- 3 votes129 views2 answers
- 1 vote125 views1 answer
- 0 vote133 views1 answer