Help for this page

Select Code to Download


  1. or download this
    $ mkdir 'a{bc.d';  touch 'a{bc.d/GOT ITabcde'
    $ mkdir 'a {bc.d'; touch 'a {bc.d/GOT ITabcde'
    $ ls
    a {bc.d     a{bc.d
    
  2. or download this
    $ cat foo
    $a=q|a\ \\\{bc.d/*|;print "pattern <", $a, "> globs to <", (glob $a), 
    +">\n";
    $ perl foo
    pattern <a\ \\{bc.d/*> globs to <a {bc.d/GOT ITabcde>
    
  3. or download this
    $ cat foo
    $a=q|a\ \{bc.d/*|;print "pattern <", $a, "> globs to <", (glob $a), ">
    +\n";
    $ perl foo
    pattern <a\ \{bc.d/*> globs to <a >
    
  4. or download this
    $ cat foo
    $a=q|a\{bc.d/*|;print "pattern <", $a, "> globs to <", (glob $a), ">\n
    +";
    $ perl foo
    pattern <a\{bc.d/*> globs to <a{bc.d/GOT ITabcde>
    
  5. or download this
    $ cat foo
    $a=q|a\\\{bc.d/*|;print "pattern <", $a, "> globs to <", (glob $a), ">
    +\n";
    $ perl foo
    pattern <a\\{bc.d/*> globs to <a\>