回答編集履歴

1

+correction

2019/08/26 16:00

投稿

KojiDoi
KojiDoi

スコア13671

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 "echo $a $_"' |sh
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
  ```