T:1010579200(17:06:00)[S:M001DmwAAPf4uGQOpiYP][da:Info] AQAAfwAHD+v3+Lhkz9QoDw--.27038S2:from=service@marketing.atlas-post.com,to=hr@yy.com,channel=local,folder=Bulk[CACCheckCheck],size=33248,delay=0,rcpttype=to,subject=突破瓶颈,重塑业务竞争力:下载 DevOps 入门白皮书引领企业进步,state=sent,msid=1,mid=1tbiAQEQAGS1ZrcwNwBKsd,score=9.26,id=2 T:1010579200(17:06:00)[S:M001DmwAAPf4uGQOpiYP][da:Info] AQAAfwAHD+v3+Lhkz9QoDw--.27038S2:from=postmaster@yy.com,to=mail-dump-slave@yy.com,channel=local,folder=Bulk[CACCheckCheck],size=33287,delay=0,rcpttype=monitor_forward,subject=[Monitor]突破瓶颈,重塑业务竞争力:下载 DevOps 入门白皮书引领企业进步,state=sent,msid=1,mid=1tbiAQISEGS4Cbg6+QASs9,score=9.26,id=3,hdrfrom=service@marketing.atlas-post.com grep -E 'folder=Bulk' |grep -v "from=.*@yy.com"
时间: 2024-04-24 22:21:35 浏览: 217
要过滤掉发件人为 `@yy.com` 并且包含字符串 "folder=Bulk" 的信息,可以使用以下命令:
```shell
echo "T:1010579200(17:06:00)[S:M001DmwAAPf4uGQOpiYP][da:Info] AQAAfwAHD+v3+Lhkz9QoDw--.27038S2:from=service@marketing.atlas-post.com,to=hr@yy.com,channel=local,folder=Bulk[CACCheckCheck],size=33248,delay=0,rcpttype=to,subject=突破瓶颈,重塑业务竞争力:下载 DevOps 入门白皮书引领企业进步,state=sent,msid=1,mid=1tbiAQEQAGS1ZrcwNwBKsd,score=9.26,id=2
T:1010579200(17:06:00)[S:M001DmwAAPf4uGQOpiYP][da:Info] AQAAfwAHD+v3+Lhkz9QoDw--.27038S2:from=postmaster@yy.com,to=mail-dump-slave@yy.com,channel=local,folder=Bulk[CACCheckCheck],size=33287,delay=0,rcpttype=monitor_forward,subject=[Monitor]突破瓶颈,重塑业务竞争力:下载 DevOps 入门白皮书引领企业进步,state=sent,msid=1,mid=1tbiAQISEGS4Cbg6+QASs9,score=9.26,id=3,hdrfrom=service@marketing.atlas-post.com" | grep -E 'folder=Bulk' | grep -v "from=.*@yy.com"
```
这个命令将输出过滤掉发件人为 `@yy.com` 并且包含字符串 "folder=Bulk" 的信息。你可以将你的文本替换到 `echo` 命令中,然后运行该命令。如果有其他问题,请随时提问!
阅读全文