Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-02-23 07:33 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (300 votes). Check out past polls.