Category: Linux Text Processing

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...

awk OFS field separator with examples

Awk OFS field separator variable, output field separator. It is a pair with the Awk FS variable; awk FS separates strings as fields, and awk...

awk FS field separate with examples

awk separate string, you can use awk FS variable or awk -F option to support single delimiter and multiple delimiter regular matching....