I was asked by a co-worker to write script to parse some XML files. Some of the options he came up with were,
- Open a file in the current directory(easy enough).
- Open files in the current directory(Use parsing on a splat, easy enough).
- Open files relatively/abosolutely located in another directory using the splat(More parsing, that is annoying).
This is fairly common syntax so there has to be a module which handles this sort of request. I have no idea what to look for though. Suggestions?
Update: Just to be clear, this was about me getting the list of files form the command line for use in my script. Example: