Ian Kilgore wrote:

Yup, but <progname> has to interpret the glob character, not the shell.
~ If you pass '*.CAD' to a program in bash, bash expands the '*.CAD' to
'1.CAD 2.CAD 3.CAD ... N.CAD'.  If the resulting string is bigger than
the number of arguments a program can take, you're still toast.

Wow, that's cool. I didn't realize that bash did that, but I tried it with my program and it worked. Now if ls can take *.CAD with ~350 files, does that mean that my program should be able to also?

Randy
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to