Re:Matching and retriving files

2002-09-26 Thread a n
I need to read in a file I have a file that contains a list of file name prefixes and a directory of expanded file names as shown here. I need to read the prefix_list.txt and for each prefix, list Only the relevant files from the samples directory. For example: For the prefix : y022inv, the

Re: HELP Getopt - Cant get it to work

2002-10-26 Thread a n
I am trying to parse the command line using Getopt. Unfortunately, I cannot seem to get it to work.I have looked over the relevant documentation, but still cant seem to get it right. Would appreciate any help in pointing out what I must be doing incorrectly. Also, the Camel book ( page 446, 4