win32 ag + xargs

需要使用-0

d:AppsAutoHotkeyscripts>ag 2b89eaa_r13_ad1 -l -0|xargs -0 sed -i s/2b89eaa_r13_ad1/2b89eaa_r15_ad1/

否则会在多个结果中间出现15分隔符

d:AppsAutoHotkeyscripts>ag 2b89eaa_r13_ad1 -l|xargs file
: cannot open `all/var.ahk15' (No such file or directory)
: cannot open `clipboard/count.ahk15' (No such file or directory

原文地址:https://www.cnblogs.com/itzxy/p/9798975.html