A
Abhinav
Hi,
I have a somewhat trivial problem, on which some input would be highly
appreciated.
I want to get the list of all the files in the current directory, whose
names are in the format
[0-9]+.xml
i.e. all files whose names are of the format <positive integer>.xml
I was hoping to do it with glob(), but I cannot come up with a pattern
which will be able to do this.
In fact, it seems (according to responses to my thread on
comp.os.linux.misc) that this is not possible ?
Would appreciate any pointers on how this could be done.
Regards
I have a somewhat trivial problem, on which some input would be highly
appreciated.
I want to get the list of all the files in the current directory, whose
names are in the format
[0-9]+.xml
i.e. all files whose names are of the format <positive integer>.xml
I was hoping to do it with glob(), but I cannot come up with a pattern
which will be able to do this.
In fact, it seems (according to responses to my thread on
comp.os.linux.misc) that this is not possible ?
Would appreciate any pointers on how this could be done.
Regards