This command separator and the back of the inside/\/$/, respectively is what meaning ah, novice small white, don't know much about, think along while also didn't want to understand, the trouble which the great spirit can detailed tell me, thank you
CodePudding user response:
'[%] + [%] refers to Spaces or % ([] matches any single character or in the parentheses)Said the front +. One or more characters,
Here is said to one or more Spaces or % for separators
/\/$///said outside pattern matching, which is $\ \/escape (is behind said it/is a symbol, not conflict with the format of the//pattern matching), $is end operator said the end of each line, ^ is the beginning of a line operator; Here is to match with/at the end of the line,
CodePudding user response:
Awk '/REG/{action}Awk pattern matching,/REG/for a regular expression, can be $0, records to meet the conditions: the action processing.
You are a given example, want to see how much does this partition using
That probably you df/GS01 each line, if to be closing in on "/", according to the space or % as a delimiter, print column 5,
CodePudding user response:
Simple understanding is matched with/at the end of the line, and then with a space t and % as a delimiter, output the fifth column///$///is on both sides of the pattern matching, the \ \/$is escape character, reduction/meaning itself, $representatives to... At the end of the
So speak can understand?