【发布时间】:2013-10-04 17:58:45
【问题描述】:
$touch file{1,2}
$echo "file1" >> file1
$^1^2
=>echo "file2">>file1
但我希望它是这样的
echo "file2">>file2
如何进行多个替换?
【问题讨论】:
-
同样的问题已经发布在superuser.com/questions/651535/…
标签: bash terminal command-line-arguments