Home
last modified time | relevance | path

Searched refs:outfile (Results 1 – 4 of 4) sorted by relevance

/coreutils/src/
Dshuf.c376 char const *outfile = nullptr; in main() local
459 if (outfile && !STREQ (outfile, optarg)) in main()
461 outfile = optarg; in main()
569 if (outfile && ! freopen (outfile, "w", stdout)) in main()
570 error (EXIT_FAILURE, errno, "%s", quotef (outfile)); in main()
Dsplit.c72 static char *outfile; variable
370 if (! outfile) in next_file_name()
401 outfile = xirealloc (outfile, outfile_size); in next_file_name()
404 memcpy (outfile, outbase, outbase_length); in next_file_name()
408 outfile[outbase_length] = suffix_alphabet[sufindex[0]]; in next_file_name()
412 outfile_mid = outfile + outbase_length; in next_file_name()
416 outfile[outfile_length] = 0; in next_file_name()
441 char *dir = dir_name (outfile); in next_file_name()
443 if (0 <= name_max && name_max < base_len (last_component (outfile))) in next_file_name()
444 error (EXIT_FAILURE, ENAMETOOLONG, "%s", quotef (outfile)); in next_file_name()
[all …]
Duniq.c321 check_file (char const *infile, char const *outfile, char delimiter) in check_file() argument
328 if (! (STREQ (outfile, "-") || freopen (outfile, "w", stdout))) in check_file()
329 error (EXIT_FAILURE, errno, "%s", quotef (outfile)); in check_file()
Dsort.c3788 size_t nfiles, char const *outfile) in avoid_trashing_input() argument
3798 if (outfile && STREQ (outfile, files[i].name) && !is_stdin) in avoid_trashing_input()
3855 check_output (char const *outfile) in check_output() argument
3857 if (outfile) in check_output()
3860 int outfd = open (outfile, oflags, MODE_RW_UGO); in check_output()
3862 sort_die (_("open failed"), outfile); in check_output()
4291 char const *outfile = nullptr; in main() local
4575 if (outfile && !STREQ (outfile, optarg)) in main()
4577 outfile = optarg; in main()
4745 if (checkonly || outfile) in main()
[all …]