Category: Linux Text Processing

vim tutorial: vim cursor move

Vim cursor move: 1. up, down, left, and right; 2. to the top of the file; 3. to the end of the line; 4. to...

vim tutorial: vim delete line

Vim delete lines, as the basic knowledge of vim is one of the functions we must master. Mastering the skills of deleting lines can improve...

awk replace statement and examples

Awk replace statement can help us format the input data conveniently. Use of awk string manipulation functions: gsub() ...

vim tutorial: vim copy, cut and paste

This article will show you how to use vim to copy-paste and cut-paste in normal mode. ①y stands for copy ②p stands for paste ③d...

vim tutorial: vim search

Vim search can help us quickly locate the location of the content when looking for or modifying the content of a file....

sed tutorial: sed replace

Sed replace, you can use the sed function: s, replace the text in the file. syntax: ➜ ~ sed 's/regexp/replacement/' file...