小编Jam*_* Ko的帖子

为什么不推荐使用 xargs -i 选项?

我最近正在阅读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{}语法的原因是什么?

options xargs history

6
推荐指数
1
解决办法
1166
查看次数

标签 统计

history ×1

options ×1

xargs ×1