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