... 再上一篇: SET SECONDS Command Example 上一篇: SET SEPARATOR Command 下一篇: SET SKIP OF Command ...
基于1个网页-相关网页
It's generally best to set the field separator inside the script itself, simply because it means you have one less command line argument to remember to type.
一般而言,最好在脚本内部设置字段分隔符,因为这样可以少输入一个命令行参数。
In this script, the field separator is specified within the code itself (by setting the FS variable), while our previous example set FS by passing the -f ":" option to awk on the command line.
在该脚本中,(通过设置FS变量)在代码中指定字段分隔符,而前一示例通过在命令行向awk传递- F “: ”选项来设置FS。
应用推荐