less -r grep pattern file.txt --color=always | less -r 转载于:https://www.cnblogs.com/long123king/p/3820417.html