0
如何使用awk命令在ksh文件中打印.log文件? 脚本去是这样的:如何使用awk命令在ksh文件中打印文件
##create file here
## Start process
awk 'BEGIN {
some code here
}
{
##Logic here
##Print to file
}
END {}
' $OUTPUTNEEDEDTOBEPRINTED
只是重新定位你的'print's :'print ...>“my.log”'。 – fedorqui 2015-02-10 11:29:12