Linux text processing

1. awk 1.1 grammar awk [options] 'BEGIN {cmd1; cmd2; ...} {cmd1; cmd2; ...} END {cmd1; cmd2; ...}' input_file Execute the script specified after BEGIN keyword before reading data; (optional)Execute the script of the middle part for each line of text in the data flow;After processing all data, execute the script specified after the END keywo ...

Added by Deadman2 on Wed, 09 Mar 2022 11:21:23 +0200

Linux three swordsmen grep

Linux three swordsmen grep describe grep – global search regular expression(RE) and print out the line; grep is a text search tool, which can use regular expressions to filter or search text and print matching lines; Mode of use Common options optiondescribe-A <n>Display the filtered text line and the n lines after the line-B ...

Added by dheeraj4uuu on Wed, 22 Sep 2021 18:51:05 +0300