In a very simple example, when writing shell scripts, you want to use :s in the Vim editor to implement the substitution function.
I used s/SCORE/1/g
SCORE exists in the script, but the error pattern not found is reported.
Look at this and the result is going to be
s –> %s
g –> ge
%s/SCORE/1/ge
It does, because S will search only on the current row, and %s is needed to replace it throughout the script
Read More:
- This dependency was not found:* vue-editor-bridge
- Differences between VI and VIM in Linux
- launch failed.Binary Not found in Linux / Ubuntu solution
- Alpine Linux executable file crash report error / lib / x86 not found_ 64 Linux GNU / libc.so solution
- Eclipse: unable to open editor: no ID org.eclipse.jdt . ui.CompilationUnitEditor Editor descriptor for
- Error Kernel Pattern
- Error in installing torch vision or pilot on Linux or Jetson nano: the headers or library files could not be found for JPEG
- Error building player because scripts have compile errors in the editor
- [solution] install youcompleteme through VIM plug-in manager VIM plug, including ycmd server shutdown solution
- Eclipse software Java solution: editor does not contain a main type error box
- How to replace strings in VIM
- Save file and exit command of vim
- .. ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: ***
- How to solve the problem of error 15: file not found when Linux starts
- Solution to the error $’\ R’: command not found when executing shell script under Linux
- Configuration: error: no acceptable C compiler found in $path error in Linux installation file
- Error: Projects must list all files or use an ‘include‘ pattern.
- Linux basic command execution error: the solution of command not found
- How to Fix ”is not in the sudoers file“ in Linux
- There is a problem of DLL when executing G + + compile command in sublime text editor