Horje
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 C
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
:s/foo//g
Source: linuxize.com




Shell

Related
how to install red hawk Code Example how to install red hawk Code Example
command inside pod Code Example command inside pod Code Example
ubuntu bash script exit when error Code Example ubuntu bash script exit when error Code Example
open all collapse in vscode Code Example open all collapse in vscode Code Example
install gui apps using homebrew Code Example install gui apps using homebrew Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11