version 1.74, 2015/04/02 21:09:51 |
version 1.75, 2015/04/03 10:07:25 |
|
|
int |
int |
main(int argc, char *argv[]) |
main(int argc, char *argv[]) |
{ |
{ |
char *outfile, *real_outfile; |
char *outfile, *real_outfile, *sflag; |
int c, result; |
int c, result; |
size_t i; |
size_t i; |
bool mef_flags[NUMBER_OF_MUTUALLY_EXCLUSIVE_FLAGS] = |
bool mef_flags[NUMBER_OF_MUTUALLY_EXCLUSIVE_FLAGS] = |
|
|
result = 0; |
result = 0; |
outfile = "-"; |
outfile = "-"; |
real_outfile = NULL; |
real_outfile = NULL; |
|
sflag = NULL; |
|
|
struct sort_mods *sm = &default_sort_mods_object; |
struct sort_mods *sm = &default_sort_mods_object; |
|
|
|
|
sort_opts_vals.sflag = true; |
sort_opts_vals.sflag = true; |
break; |
break; |
case 'S': |
case 'S': |
available_free_memory = |
sflag = optarg; |
parse_memory_buffer_value(optarg); |
|
break; |
break; |
case 'T': |
case 'T': |
tmpdir = optarg; |
tmpdir = optarg; |
|
|
|
|
argc -= optind; |
argc -= optind; |
argv += optind; |
argv += optind; |
|
|
|
if (sflag != NULL) |
|
available_free_memory = parse_memory_buffer_value(sflag); |
|
|
if (keys_num == 0) { |
if (keys_num == 0) { |
keys_num = 1; |
keys_num = 1; |