in reply to Grep on a list of files in directory
But your description is confusing; in the code snippet you say "All the xml files print fine", but at the end you say "why isn't the code printing anything...?" Is it printing xml file names or not?
Also, why are you specifically looking for strings containing '/load.c#' (the regex in the 2nd grep call) in a list of file names that end with ".xml" extensions? Do you actually have xml files with '/' and '#' (and "load.c" in between) as part of the file names?
Updated to fix misspelling in the regex in the 3rd paragraph. Also, what is the relevance of the thread title? That is, how does anything in the OP relate to "Dereferencing a hash"? (I didn't see any hashes in the OP...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Deferencing a hash
by iphone (Beadle) on Oct 29, 2010 at 05:03 UTC | |
by Anonymous Monk on Oct 29, 2010 at 06:09 UTC |