Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 61) sorted by relevance

123

/coreutils/tests/split/
Dsuffix-length.sh27 files=
29 files="${files}xa$i "
31 files="${files}xba"
33 for f in $files; do
59 for f in $files; do
/coreutils/tests/chmod/
Dusage.sh65 files=$(expr "$case" : '.*: *\(.*\)')
67 case $files in
73 touch -- $files || framework_failure_
75 for file in $files; do
78 rm -f -- $all_files && touch -- $files && rm -- $file \
/coreutils/src/
Dtee.c40 static bool tee_files (int nfiles, char **files, bool);
201 fail_output (FILE **descriptors, char **files, int i) in fail_output() argument
213 w_errno, "%s", quotef (files[i])); in fail_output()
225 tee_files (int nfiles, char **files, bool pipe_check) in tee_files() argument
250 files--; in tee_files()
254 files[0] = bad_cast (_("standard output")); in tee_files()
261 descriptors[i] = fopen (files[i], mode_string); in tee_files()
268 errno, "%s", quotef (files[i])); in tee_files()
292 if (fail_output (descriptors, files, first_out)) in tee_files()
317 if (fail_output (descriptors, files, i)) in tee_files()
[all …]
Dsplit.c1076 ofile_open (of_t *files, idx_t i_check, idx_t nfiles) in ofile_open() argument
1080 if (files[i_check].ofd <= OFD_NEW) in ofile_open()
1090 if (files[i_check].ofd == OFD_NEW) in ofile_open()
1091 fd = create (files[i_check].of_name); in ofile_open()
1108 fd = open (files[i_check].of_name, in ofile_open()
1116 error (EXIT_FAILURE, errno, "%s", quotef (files[i_check].of_name)); in ofile_open()
1121 while (files[i_reopen].ofd < 0) in ofile_open()
1127 quotef (files[i_check].of_name)); in ofile_open()
1130 if (fclose (files[i_reopen].ofile) != 0) in ofile_open()
1131 error (EXIT_FAILURE, errno, "%s", quotef (files[i_reopen].of_name)); in ofile_open()
[all …]
Dsort.c1516 char *const *files, size_t nfiles, in sort_buffer_size() argument
1537 : STREQ (files[i], "-") ? fstat (STDIN_FILENO, &st) in sort_buffer_size()
1538 : stat (files[i], &st)) in sort_buffer_size()
1540 sort_die (_("stat failed"), files[i]); in sort_buffer_size()
2987 open_input_files (struct sortfile *files, size_t nfiles, FILE ***pfps) in open_input_files() argument
2995 fps[i] = (files[i].temp && files[i].temp->state != UNCOMPRESSED in open_input_files()
2996 ? open_temp (files[i].temp) in open_input_files()
2997 : stream_open (files[i].name, "r")); in open_input_files()
3014 mergefps (struct sortfile *files, size_t ntemps, size_t nfiles, in mergefps() argument
3042 if (fillbuf (&buffer[i], fps[i], files[i].name)) in mergefps()
[all …]
/coreutils/tests/rm/
Dr-3.sh34 files=
36 files="$files $i$j"
38 touch $files || framework_failure_
Dinteractive-once.sh128 three files, no recursion
130 four files, no recursion, answer no
132 four files, no recursion, answer yes
134 four files, no recursion, 1 read only, answer yes no
140 multiple files, recursion, answer no
142 multiple files, recursion, answer yes
/coreutils/man/
Dchown.x17 with no spaces between them, the group ownership of the files is
19 that user is made the owner of the files and the group of the files is
Dnl.x2 nl \- number lines of files
Dpaste.x2 paste \- merge lines of files
Dpr.x2 pr \- convert text files for printing
Dmv.x2 mv \- move (rename) files
Dcut.x2 cut \- remove sections from each line of files
Dcp.x2 cp \- copy files and directories
Dln.x2 ln \- make links between files
Dinstall.x2 install \- copy files and set attributes
Dtail.x2 tail \- output the last part of files
Dsort.x2 sort \- sort lines of text files
Dhead.x2 head \- output the first part of files
Dmknod.x2 mknod \- make block or character special files
Dtac.x2 tac \- concatenate and print files in reverse
Dtee.x2 tee \- read from standard input and write to standard output and files
Dcat.x2 cat \- concatenate files and print on the standard output
/coreutils/scripts/build-older-versions/
Dcoreutils-5.0-on-glibc-2.28.diff20 -static int tee (int nfiles, const char **files);
21 +static int tee_FOO (int nfiles, const char **files);
23 /* If nonzero, append to output files rather than truncating them. */
38 -tee (int nfiles, const char **files)
39 +tee_FOO (int nfiles, const char **files)
/coreutils/tests/misc/
Dtee.sh26 files=$(seq $n)
27 rm -f $files
28 tee $files <sample >out || fail=1
29 for f in out $files; do

123