awk&sed(三)

sed手册:http://www.gnu.org/software/sed/manual/sed.html#Common-Commands

#awk实现:aa bb字符串输出为:bb aa

echo -e "aa	bb"|awk -F'	' '{print $2,$1}'

  

关于echo的一些转义字符用法:http://blog.chinaunix.net/uid-21843387-id-106014.html

原文地址:https://www.cnblogs.com/maggie94/p/6740318.html