Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: one-liner yields unexpected result

by educated_foo (Vicar)
on Feb 13, 2012 at 18:14 UTC ( #953511=note: print w/ replies, xml ) Need Help??


in reply to one-liner yields unexpected result

This is even easier to do with the Unix find(1) command:

find /.mnt.* -type f -print
There's more than one way to do it, and often the easiest way isn't Perl.


Comment on Re: one-liner yields unexpected result
Download Code
Re^2: one-liner yields unexpected result
by JavaFan (Canon) on Feb 13, 2012 at 20:39 UTC
    That would list the content of /.mnt.94, /.mnt.01 and /.mnt.foo, none of them will be listed by the OPs snippet.
      Sure -- you can always use /.mnt.{1..93} (in Bash and Zsh, at least) if that is an actual problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://953511]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-02 00:15 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 (25 votes), past polls