Talk:Walk a directory/Non-recursively: Difference between revisions

Content added Content deleted
(→‎globs: Go ahead and update it.)
Line 11: Line 11:
Using a glob is not the same as walking a directory. A number of the solutions are pointless.
Using a glob is not the same as walking a directory. A number of the solutions are pointless.
:Go ahead and update the task page with a more specific description; It was done once before with walking trees. (Also, sign your posts with - - ~ ~ ~ ~ (sans spaces.) --[[User:Short Circuit|Short Circuit]] 19:58, 9 October 2007 (MDT)
:Go ahead and update the task page with a more specific description; It was done once before with walking trees. (Also, sign your posts with - - ~ ~ ~ ~ (sans spaces.) --[[User:Short Circuit|Short Circuit]] 19:58, 9 October 2007 (MDT)

== What does "match a pattern" mean? ==

For example, if the pattern is "bar", do you want it to match a file named "foobarbaz"? Some examples on here do and some don't. Also, what kind of patterns are allowed? Some people use Perl regular expressions, where ".*" is used to represent "0 or more characters of any kind"; but some use the shell globbing syntax, which use "*" to do that. So what do we want here? --[[User:Spoon!|Spoon!]] 05:37, 2 January 2009 (UTC)