我很好奇为什么find使用{}作为变量替换的语法(例如,在 中find . -name "*~" -exec rm {} \;)。这是一种相当不寻常的语法,我不知道任何其他{}用作占位符的程序或语言。
find
{}
find . -name "*~" -exec rm {} \;
find ×1