grep ^a.*z$ file
cat file | tr " " "\n" | grep ^a.*z$
grep -oE "\<a\w*z\>" yourfile
18,772
社区成员
11,463
社区内容
加载中
试试用AI创作助手写篇文章吧