某日志处理Daily Shell Posted Oct 14, 2014 Updated Jul 17, 2025 By liuzheng 1 min readcat 20131001.logsed ‘s/”” //’sed ‘s/” “/”\t”/g’awk -F”\t” ‘BEGIN{}{if($13!=”"400"” && $13!=”"403"” && $13!=”"404"”){print $0;}}END{}’ > 20131001.log.lz dailyShell dailyShell This post is licensed under CC BY 4.0 by the author. Share