projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
perl 4.0 patch 26: patch #20, continued
[p5sagit/p5-mst-13.2.git]
/
os2
/
glob.c
1
/*
2
* Globbing for OS/2. Relies on the expansion done by the library
3
* startup code.
4
*/
5
6
#define PERLGLOB
7
#include "director.c"
8
9
int main(int argc, char **argv)
10
{
11
SHORT i;
12
USHORT r;
13
CHAR *f;
14
15
for (i = 1; i < argc; i++)
16
{
17
f = IsFileSystemFAT(argv[i]) ? strlwr(argv[i]) : argv[i];
18
DosWrite(1, f, strlen(f) + 1, &r);
19
}
20
return argc - 1;
21
}