awk 输出的分隔符
时间: 2023-10-22 19:28:33 浏览: 115
awk输出的分隔符可以通过使用-F参数来指定。比如使用-F,来指定以逗号作为分隔符。 例如:awk -F, '{print $1,$2,$3}' 会将以逗号分隔的内容分别输出。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [shell脚本之awk命令——分隔符介绍](https://blog.csdn.net/xb_2015/article/details/119971107)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Linux:awk指定输入和输出分隔符](https://blog.csdn.net/liangbilin/article/details/108593296)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文