/** * sort-cmd * One of those "sort from the command line" tests. */ #include #include "sort.h" int main (int argc, char *argv[]) { int i; sort (argv+1, argc-1); for (i = 1; i < argc; i++) printf ("%s\n", argv[i]); return 0; } // main