Category: Linux Text Processing

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

sed tutorial: sed append command

The sed append command can add a new line before or after the specified matching line. We do this by using sed a and i...