匿名化日志文件中的Email地址

5年以前  |  阅读数:502 次  |  编程语言:Shell 

The number 5 means to replace the leading and trailing 5 characters of an "@" in a log file with XXXX@XXXXX.

%s/.\{5\}@.\{5\}/XXXXX@XXXXXX/g

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8