Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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.


Comment on Re^4: Listing of files using glob
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-07-03 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls