回答編集履歴
1
+correction
test
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
|
5
5
|
```sh
|
6
6
|
|
7
|
-
ls foo_*.txt | perl -nle '$a=$_; s#(foo_)(\d+)(.txt)#"dest/$1".($2+1).$3#e; print "
|
7
|
+
ls foo_*.txt | perl -nle '$a=$_; s#(foo_)(\d+)(.txt)#"dest/$1".($2+1).$3#e; print "cp $a $_"' |sh
|
8
8
|
|
9
9
|
```
|