What Perl glob expression matches all the files that look like /home/test-N.txt? -


I'm starting for a pell syntax and a basic wildcard question. I'm looking for an expression that will allow me to get the following files.

 /home/test-1.txt/home/test-2.txt/home/test-3.txt 

I am only interested in the actual wildcard expression, file I / O no

& lt; / Home / test - *. Txt & gt; You must have the necessary files.

glob ("/ home / test - * .txt") does the same thing

This is the one.


Comments

Popular posts from this blog

ios - Form Sheet content disappearing -

MySql variables and php -

c++ - an enclosing-function local variable cannot be referenced in a lambda body unless if it is in capture list -