- or download this
$ rm foo* bar*
$ echo foo > foo
$ echo bar > bar
- or download this
$ perl -MPath::Tiny -wnE 'sub baz {uc} chomp; my $in = path($_); $in->
+sibling("$_.new")->spew(baz($in->slurp));' foo bar
- or download this
$ cat foo.new
FOO
$ cat bar.new
BAR