Help for this page

Select Code to Download


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