-v var=val
--assign var=val
Assign the value val to the variable var, before execution of the program
begins. Such variable values are available to the BEGIN block of an AWK pro-
gram.
转载于:https://www.cnblogs.com/lehao/p/3962962.html
-v var=val
--assign var=val
Assign the value val to the variable var, before execution of the program
begins. Such variable values are available to the BEGIN block of an AWK pro-
gram.
转载于:https://www.cnblogs.com/lehao/p/3962962.html