Help for this page

Select Code to Download


  1. or download this
    $ perl -le'print for < abc/OneWord >'
    abc/OneWord
    ...
    
    $ perl -MFile::Glob=bsd_glob -le'print for bsd_glob("abc/Two Words")'
    abc/Two Words
    
  2. or download this
    $ perl -le'print for < '\''abc/OneWord'\'' >'
    'abc/OneWord'
    
    $ perl -le'print for < '\''abc/Two Words'\'' >'
    abc/Two Words
    
  3. or download this
    $ perl -MFile::Glob=bsd_glob -le'print for bsd_glob("'\''abc/OneWord'\
    +''")'
    'abc/OneWord'
    
    $ perl -MFile::Glob=bsd_glob -le'print for bsd_glob("'\''abc/Two Words
    +'\''")'
    'abc/Two Words'
    
  4. or download this
    $ echo              '< \\'\''abc/OneWord\\'\'' >' &&
    > perl -le'print for < \\'\''abc/OneWord\\'\'' >'
    ...
    > perl -le'print for < \\'\''abc/Two\\ Words\\'\'' >'
    < \\'abc/Two\\ Words\\' >
    'abc/Two Words'