shell awk

awk 传送参数
echo "1 2 3 4 5"|awk -vistor=100 '{if(istor==100){print $0}}'
原文地址:https://www.cnblogs.com/i80386/p/4252992.html