awk:There are not enough parameters in printf statement 320801|一段简单文字|10110202|GL_ACCOUNT_ID|4||1|22|'3%'|ID_NUMBERLIKE '''1%'' OR ID_NUMBER LIKE '''3%''是不是百分号的原因,初学者,

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 16:18:59
awk:There are not enough parameters in printf statement 320801|一段简单文字|10110202|GL_ACCOUNT_ID|4||1|22|'3%'|ID_NUMBERLIKE '''1%'' OR ID_NUMBER LIKE '''3%''是不是百分号的原因,初学者,
x)K,϶ H-JUHԼ ĢԒԢb<̼4ĒԼc# Ú';|]ީϦ?];'?/$ӥƤưȨFXU%/5UA]]PU]]?H.*W6c@}O;ڞo>i

awk:There are not enough parameters in printf statement 320801|一段简单文字|10110202|GL_ACCOUNT_ID|4||1|22|'3%'|ID_NUMBERLIKE '''1%'' OR ID_NUMBER LIKE '''3%''是不是百分号的原因,初学者,
awk:There are not enough parameters in printf statement
320801|一段简单文字|10110202|GL_ACCOUNT_ID|4||1|22|'3%'|ID_NUMBER
LIKE '''1%'' OR ID_NUMBER LIKE '''3%''
是不是百分号的原因,初学者,

awk:There are not enough parameters in printf statement 320801|一段简单文字|10110202|GL_ACCOUNT_ID|4||1|22|'3%'|ID_NUMBERLIKE '''1%'' OR ID_NUMBER LIKE '''3%''是不是百分号的原因,初学者,
不是百分号的原因.
正确:
awk -F "|" '{print $0}' $tablename.tmp
print 是输出相关内容,如print $1
printf 是格式化输出内容,如printf("I want to put:%s\n",$0)