Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Listing of files using glob

by tobyink (Abbot)
on Jan 05, 2012 at 09:27 UTC ( #946345=note: print w/replies, xml ) Need Help??


in reply to Re^3: Listing of files using glob
in thread Listing of files using glob

I can't speak for AG87, but on Linux it's pretty easy to create a file with a pipe symbol in it.

touch 'foo|bar' && ls -l foo* && rm -i 'foo|bar'

If I recall correctly, the only character disallowed in Linux filenames is the slash.

Replies are listed 'Best First'.
Re^5: Listing of files using glob
by Corion (Pope) on Jan 05, 2012 at 09:41 UTC

    You also can't create a file with \0 in its name :).

      There are many characters, though, that you can use in file names, but you never should :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://946345]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-02-21 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (313 votes). Check out past polls.