This repository has been archived on 2024-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
probotic/src/fetch.c

31 lines
417 B
C
Raw Normal View History

2023-08-02 06:57:45 -04:00
/* fetch.c - fetch from file */
#include <stdio.h>
#ifdef LOCAL_PROBOTIC_MAIN
int
main (int argc,
char ** argv)
{
if (argc > 1)
{
char * b;
/* get week number via stoi */
++argv; --argc;
/* no options, yet */
while (++argv, --argc)
{
printf("%s\n", *argv);
}
}
else
{
/* no stdin yet */
/* usage(); */
return 1;
}
}
#endif /* LOCAL_PROBOTIC_MAIN */