© 1999-2048 dssz.net 粤ICP备11031372号
[Linux] linux unix shell 学习笔记 很全 很经典
说明: 很全,很经典,一目了然 .. 举例2: $ nawk 'BEGIN{while("ls"|getline) print}' awk.sc2 datafile datafile2 employees employees2 lab5.data names passwd 解释:将把ls的输出送到getline。对于每次循环,getline都从 ls读取一个以上输出,然后打印到屏幕上 .. 举例3: $ nawk 'BEGIN{printf "What is your name?";\ >; g<sl19841106123> 上传 | 大小:3kb