我最近正在阅读Linux 手册页xargs
,似乎该-i
选项已被弃用。从文档中引用:
-i[replace-str], --replace[=replace-str]
This option is a synonym for -Ireplace-str if replace-str is
specified. If the replace-str argument is missing, the effect
is the same as -I{}. This option is deprecated; use -I
instead.
Run Code Online (Sandbox Code Playgroud)
只是好奇,为什么它被弃用了?使用更冗长的-I{}
语法的原因是什么?