Lines Matching refs:output

44     "writes the result on the standard output. The file name \b-\b means the "
129 "ordering rules; give no output on the standard output. If the input "
143 "[o:output?Place output in the designated \afile\a instead of on the "
144 "standard output. This file may be the same as one of the inputs. The "
145 "\afile\a \b-\b names the standard output. The option may appear among "
146 "the file arguments, except after \b--\b.]:[output]"
160 "\astyle\a \blist\b lists a line on the standard output for each plugin "
180 "[+O?\bgzip\b(1) compress the output.]"
194 "output.]# [level]"
233 "not replaced until the entire output file is generated in the same "
290 Sfio_t* op; /* output stream */
308 int preserve; /* rename() tmp output to input */
528 key->output = opt_info.arg;
705 * check for obsolescent `-o output' after first file operand
715 error(2, "-o: output argument expected");
718 key->output = s;
789 if (map && key->output && key->disc->data != REC_N_TYPE() && (stat(key->output, &st) || S_ISREG(st.st_mode)))
791 if (p = strrchr(key->output, '/'))
794 s = key->output;
797 p = key->output;
804 key->output = s;
806 error(0, "%s rename output %s => %s", error_info.id, p, s);
1099 * check the output file for clash with the input files
1103 if (pathstdout(key->output))
1105 key->output = "/dev/stdout";
1112 if (!stat(key->output, &os))
1116 else if (eaccess(key->output, W_OK))
1117 error(ERROR_SYSTEM|3, "%s: cannot write", key->output);
1128 if (t = strrchr(key->output, '/'))
1130 s = key->output;
1139 error(ERROR_SYSTEM|3, "%s: cannot create overwrite file %s", key->output, sp->overwrite);
1147 if (!sp->overwrite && !(sp->op = sfopen(sfstdout, key->output, "w")))
1148 error(ERROR_SYSTEM|3, "%s: cannot write", key->output);
1150 if (rsfilewrite(sp->rec, sp->op, key->output))
1173 if (s = key->output)
1174 error(0, "%s output\t\"%s\"", error_info.id, s);
1221 * skip merge and output sorted chunk
1227 error(ERROR_SYSTEM|2, "%s: write error", sp->key->output);
1620 error(ERROR_SYSTEM|2, "%s: write error", sp->key->output);
1627 * if the output would have overwritten an input
1642 if (op = sfopen(NiL, sp->key->output, "w"))
1645 error(ERROR_SYSTEM|2, "%s: write error", sp->key->output);
1649 error(ERROR_SYSTEM|2, "%s: cannot write", sp->key->output);
1657 else if (remove(sp->key->output) || rename(sp->overwrite, sp->key->output))
1658 error(ERROR_SYSTEM|2, "%s: cannot overwrite", sp->key->output);
1742 error(ERROR_SYSTEM|3, "%s: write error", sort.key->output);