linux —— 基础(4)(待续)

原文地址:https://linuxtools-rst.readthedocs.io/zh_CN/latest/base/03_text_processing.html

3. 文本处理

本节将介绍Linux下使用Shell处理文本时最常用的工具: find、grep、xargs、sort、uniq、tr、cut、paste、wc、sed、awk; 提供的例子和参数都是常用的; 我对shell脚本使用的原则是命令单行书写,尽量不要超过2行; 如果有更为复杂的任务需求,还是考虑python吧;

猜你喜欢

转载自www.cnblogs.com/panpanwelcome/p/12668114.html