home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl501m.zip / OS2 / perlglob.c < prev    next >
C/C++ Source or Header  |  1993-02-20  |  335b  |  22 lines

  1. /*
  2.  * Globbing for OS/2.  Relies on the expansion done by the library
  3.  * startup code. (dds)
  4.  */
  5.  
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. #include <string.h>
  9.  
  10. main(int argc, char **argv)
  11. {
  12.   register i;
  13.  
  14.   _wildcard(&argc, &argv);
  15.   for (i = 1; i < argc; i++)
  16.   {
  17.     fputs(argv[i], stdout);
  18.     putchar(0);
  19.   }
  20. }
  21.  
  22.