https://www.runoob.com/linux/linux-comm-uniq.html
在音视频编解码的时候,经常会有重复的日志,但是日志前的时间戳又不一样,可以结合cut指令。
cat remote-play.log.-1.20240111 | grep "CZLog" | cut -c25- | uniq
https://www.runoob.com/linux/linux-comm-uniq.html
在音视频编解码的时候,经常会有重复的日志,但是日志前的时间戳又不一样,可以结合cut指令。
cat remote-play.log.-1.20240111 | grep "CZLog" | cut -c25- | uniq
0 条评论