Was this helpful?
$n
where: n is a numeric constant.
$0 is a special variable that contains the string value of the entire input line. Other special variables $1, $2, ..., are assigned the string values of the input fields if the Internal Field Separator variable IFS was initialized to cause the input line to split into fields.
Example
# Isolate tag: and its value
$0 ~ /:/ {split($0,part,":"); tag = ltrim(part[0]); tagvalue = rtrim(part[1]);}
Last modified date: 12/03/2024