/coreutils/po/ |
D | POTFILES.in | 5 lib/argmatch.c 7 lib/c-file-type.c 8 lib/closein.c 9 lib/closeout.c 10 lib/copy-acl.c 11 lib/error.c 12 lib/gai_strerror.c 13 lib/getopt.c 14 lib/mkdir-p.c 15 lib/obstack.c [all …]
|
/coreutils/tests/cp/ |
D | link-preserve.sh | 25 mkdir c || framework_failure_ 26 cp -d a b c || framework_failure_ 27 test -f c/a || framework_failure_ 28 test -f c/b || framework_failure_ 31 a_inode=$(ls -i c/a|sed 's,c/.*,,') 32 b_inode=$(ls -i c/b|sed 's,c/.*,,') 36 rm -rf a b c 39 mkdir c 40 cp --preserve=links -R -H a b c || fail=1 41 a_inode=$(ls -i c/a|sed 's,c/.*,,') [all …]
|
D | cp-i.sh | 22 mkdir -p a b/a/c || framework_failure_ 23 touch a/c || framework_failure_ 30 touch c d || framework_failure_ 36 echo n | returns_ 1 cp -vi c d 2>/dev/null > out1 || fail=1 40 echo y | cp -vi c d 2>/dev/null > out2 || fail=1 44 echo y | cp -vni c d 2>/dev/null > out3 || fail=1 48 echo y | returns_ 1 cp -vin c d 2>/dev/null > out4 || fail=1 52 echo y | returns_ 1 cp -in c d 2>err4 > out4 || fail=1 57 echo y | cp -vfi c d 2>/dev/null > out5 || fail=1 61 echo n | returns_ 1 cp -vfn c d 2>/dev/null > out6 || fail=1 [all …]
|
D | cp-deref.sh | 23 mkdir a b c d || framework_failure_ 24 ln -s ../c a || framework_failure_ 25 ln -s ../c b || framework_failure_ 31 test -d a/c || fail=1 32 test -d b/c || fail=1
|
/coreutils/src/ |
D | echo.c | 93 hextobin (unsigned char c) in hextobin() argument 95 switch (c) in hextobin() 97 default: return c - '0'; in hextobin() 202 unsigned char c; in main() local 204 while ((c = *s++)) in main() 206 if (c == '\\' && *s) in main() 208 switch (c = *s++) in main() 210 case 'a': c = '\a'; break; in main() 211 case 'b': c = '\b'; break; in main() 213 case 'e': c = '\x1B'; break; in main() [all …]
|
D | fmt.c | 118 #define isopen(c) (strchr ("(['`\"", c) != nullptr) argument 119 #define isclose(c) (strchr (")]'\"", c) != nullptr) argument 120 #define isperiod(c) (strchr (".?!", c) != nullptr) argument 155 static int get_line (FILE *f, int c); 157 static int get_space (FILE *f, int c); 158 static int copy_rest (FILE *f, int c); 159 static bool same_para (int c); 555 int c; in get_paragraph() local 558 c = next_char; in get_paragraph() 562 while (c == '\n' || c == EOF in get_paragraph() [all …]
|
D | local.mk | 70 src/tac-pipe.c \ 81 nodist_src_libver_a_SOURCES = src/version.c src/version.h 339 $(top_srcdir)/lib/version-etc.c` 342 src/selinux.c \ 346 src/copy.c \ 347 src/cp-hash.c \ 348 src/force-link.c \ 363 src_ginstall_SOURCES = src/install.c src/prog-fprintf.c $(copy_sources) \ 367 src___SOURCES = src/lbracket.c 370 src_coreutils_SOURCES = src/coreutils.c [all …]
|
D | cut.c | 229 int c; /* Each character from the file. */ in cut_bytes() local 231 c = getc (stream); in cut_bytes() 233 if (c == line_delim) in cut_bytes() 235 if (putchar (c) < 0) in cut_bytes() 241 else if (c == EOF) in cut_bytes() 267 if (putchar (c) < 0) in cut_bytes() 279 int c; /* Each character from the file. */ in cut_fields() local 286 c = getc (stream); in cut_fields() 287 if (c == EOF) in cut_fields() 290 ungetc (c, stream); in cut_fields() [all …]
|
D | expand.c | 105 int c; in expand() local 125 while ((c = getc (fp)) < 0 && (fp = next_file (fp))) in expand() 130 if (c == '\t') in expand() 149 c = ' '; in expand() 151 else if (c == '\b') in expand() 165 convert &= convert_entire_line || !! isblank (c); in expand() 168 if (c < 0) in expand() 171 if (putchar (c) < 0) in expand() 174 while (c != '\n'); in expand() 181 int c; in main() local [all …]
|
D | unexpand.c | 124 int c; in unexpand() local 158 while ((c = getc (fp)) < 0 && (fp = next_file (fp))) in unexpand() 163 bool blank = !! isblank (c); in unexpand() 180 if (c == '\t') in unexpand() 197 pending_blank[pending++] = c; in unexpand() 203 pending_blank[0] = c = '\t'; in unexpand() 211 else if (c == '\b') in unexpand() 240 if (c < 0) in unexpand() 246 if (putchar (c) < 0) in unexpand() 249 while (c != '\n'); in unexpand() [all …]
|
/coreutils/tests/mv/ |
D | childproof.sh | 26 mkdir a b c || framework_failure_ 31 returns_ 1 cp a/f b/f c 2> /dev/null || fail=1 34 test -f c/f || fail=1 36 rm -f c/f 39 cp --backup=numbered a/f b/f c || fail=1 42 test -f c/f || fail=1 43 test -f c/f.~1~ || fail=1 44 rm -f c/f* 46 returns_ 1 mv a/f b/f c 2> /dev/null || fail=1 49 test -f c/f || fail=1 [all …]
|
D | hard-2.sh | 29 ln a c || framework_failure_ 33 cp --preserve=link a b c dst || fail=1 37 test -f c || fail=1 43 test -f c || fail=1 48 ic=$(ls -i c|sed 's/ c//') 57 mv a b c dst || fail=1 62 test -f c && fail=1 68 test -f c || fail=1 73 ic=$(ls -i c|sed 's/ c//')
|
/coreutils/tests/shuf/ |
D | shuf.sh | 47 t=$(shuf -e a b c d e | sort | fmt) 83 c=$(wc -l < exp) || framework_failure_ 84 test "$c" -eq 3 || { fail=1; echo "Multiple -n failed">&2 ; } 114 c=$(wc -l < exp) || framework_failure_ 115 test "$c" -eq 1000 \ 120 c=$(wc -l < exp) || framework_failure_ 121 test "$c" -eq 1000 || { fail=1; echo "--repeat with --count failed">&2 ; } 126 c=$(sort -nu exp | paste -s -d ' ') || framework_failure_ 127 test "$c" = "0 1 2 3 4 5 6 7 8 9" || 132 c=$(sort -nu exp | paste -s -d ' ') || framework_failure_ [all …]
|
/coreutils/gl/lib/ |
D | rand-isaac.c | 94 isaac_word b = s->b + (++s->c); in isaac_refill() 145 #define mix(a, b, c, d, e, f, g, h) \ argument 148 b += c; b ^= just (c) >> 2; e += b; \ 149 c += d; c ^= d << 8; f += c; \ 154 h += a; h ^= just (a) >> 9; c += h; \ 158 #define mix(a, b, c, d, e, f, g, h) \ argument 162 c -= g; h ^= just (b) >> 23; b += c; \ 163 d -= h; a ^= c << 15; c += d; \ 165 f -= b; c ^= e << 20; e += f; \ 166 g -= c; d ^= just (f) >> 17; f += g; \ [all …]
|
/coreutils/tests/misc/ |
D | selinux.sh | 40 c=$(ls -dogZ $i|cut -d' ' -f3); test x$c = x$ctx || fail=1 41 c=$(stat --printf %C $i); test x$c = x$ctx || fail=1 45 c=$(ls -l f|cut -c11); test "$c" = . || fail=1 56 c=$(stat --printf %C s1/$i); test x$c = x$ctx || fail=1 62 c=$(stat --printf %C s2/$i); test x$c = x$ctx || fail=1
|
D | nl.sh | 25 echo c | nl -n ln >> out || fail=1 33 1 c 44 printf '%s\n' '\:\:\:' a '\:\:' b '\:' c > in.txt || framework_failure_ 51 1 c 54 3 c 79 printf '%s\n' a b c > in.txt || framework_failure_ 83 printf '%s\n' a '\:\:' c > in.txt || framework_failure_ 88 3 c 93 printf '%s\n' a foofoo c > in.txt || framework_failure_ 98 1 c [all …]
|
/coreutils/scripts/build-older-versions/ |
D | coreutils-8.24-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-8.24/lib/freadahead.c coreutils-8.24-patched/lib/freadahead.c 2 --- coreutils-8.24/lib/freadahead.c 2015-06-15 23:00:37.000000000 -0600 3 +++ coreutils-8.24-patched/lib/freadahead.c 2019-08-01 19:47:31.412646436 -0600 13 diff -r -U3 coreutils-8.24/lib/freadptr.c coreutils-8.24-patched/lib/freadptr.c 14 --- coreutils-8.24/lib/freadptr.c 2015-06-15 23:00:37.000000000 -0600 15 +++ coreutils-8.24-patched/lib/freadptr.c 2019-08-01 19:47:31.416646500 -0600 25 diff -r -U3 coreutils-8.24/lib/freadseek.c coreutils-8.24-patched/lib/freadseek.c 26 --- coreutils-8.24/lib/freadseek.c 2015-06-15 23:00:37.000000000 -0600 27 +++ coreutils-8.24-patched/lib/freadseek.c 2019-08-01 19:47:31.416646500 -0600 37 diff -r -U3 coreutils-8.24/lib/fseeko.c coreutils-8.24-patched/lib/fseeko.c [all …]
|
D | coreutils-7.2-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-7.6/lib/freadahead.c coreutils-7.6-patched/lib/freadahead.c 2 --- coreutils-7.6/lib/freadahead.c 2009-05-03 23:46:33.000000000 -0600 3 +++ coreutils-7.6-patched/lib/freadahead.c 2019-08-01 17:30:54.589238442 -0600 13 diff -r -U3 coreutils-7.6/lib/freadptr.c coreutils-7.6-patched/lib/freadptr.c 14 --- coreutils-7.6/lib/freadptr.c 2009-05-03 23:46:33.000000000 -0600 15 +++ coreutils-7.6-patched/lib/freadptr.c 2019-08-01 17:34:10.692659598 -0600 25 diff -r -U3 coreutils-7.6/lib/freadseek.c coreutils-7.6-patched/lib/freadseek.c 26 --- coreutils-7.6/lib/freadseek.c 2009-05-03 23:46:33.000000000 -0600 27 +++ coreutils-7.6-patched/lib/freadseek.c 2019-08-01 17:34:41.013164702 -0600 37 diff -r -U3 coreutils-7.6/lib/fseeko.c coreutils-7.6-patched/lib/fseeko.c [all …]
|
D | coreutils-5.97-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-6.4/lib/utimens.c coreutils-6.4-patched/lib/utimens.c 2 --- coreutils-6.4/lib/utimens.c 2006-09-14 03:53:59.000000000 -0600 3 +++ coreutils-6.4-patched/lib/utimens.c 2019-08-01 19:09:08.228883163 -0600 28 diff -r -U3 coreutils-6.4/src/copy.c coreutils-6.4-patched/src/copy.c 29 --- coreutils-6.4/src/copy.c 2006-10-22 10:54:15.000000000 -0600 30 +++ coreutils-6.4-patched/src/copy.c 2019-08-01 19:09:42.421340384 -0600 40 diff -r -U3 coreutils-6.4/src/touch.c coreutils-6.4-patched/src/touch.c 41 --- coreutils-6.4/src/touch.c 2006-10-22 10:54:15.000000000 -0600 42 +++ coreutils-6.4-patched/src/touch.c 2019-08-01 19:09:34.685236947 -0600
|
D | coreutils-8.4-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-8.5/lib/freadahead.c coreutils-8.5-patched/lib/freadahead.c 2 --- coreutils-8.5/lib/freadahead.c 2010-04-23 07:44:00.000000000 -0600 3 +++ coreutils-8.5-patched/lib/freadahead.c 2019-08-01 18:35:31.580843463 -0600 13 diff -r -U3 coreutils-8.5/lib/freadptr.c coreutils-8.5-patched/lib/freadptr.c 14 --- coreutils-8.5/lib/freadptr.c 2010-04-23 07:44:00.000000000 -0600 15 +++ coreutils-8.5-patched/lib/freadptr.c 2019-08-01 18:35:31.580843463 -0600 25 diff -r -U3 coreutils-8.5/lib/freadseek.c coreutils-8.5-patched/lib/freadseek.c 26 --- coreutils-8.5/lib/freadseek.c 2010-04-23 07:44:00.000000000 -0600 27 +++ coreutils-8.5-patched/lib/freadseek.c 2019-08-01 18:35:31.580843463 -0600 37 diff -r -U3 coreutils-8.5/lib/fseeko.c coreutils-8.5-patched/lib/fseeko.c [all …]
|
D | coreutils-8.18-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-8.18/lib/freadahead.c coreutils-8.18-patched/lib/freadahead.c 2 --- coreutils-8.18/lib/freadahead.c 2012-07-15 06:26:12.000000000 -0600 3 +++ coreutils-8.18-patched/lib/freadahead.c 2019-08-01 19:22:13.169332844 -0600 13 diff -r -U3 coreutils-8.18/lib/freadptr.c coreutils-8.18-patched/lib/freadptr.c 14 --- coreutils-8.18/lib/freadptr.c 2012-07-15 06:26:12.000000000 -0600 15 +++ coreutils-8.18-patched/lib/freadptr.c 2019-08-01 19:22:13.169332844 -0600 25 diff -r -U3 coreutils-8.18/lib/freadseek.c coreutils-8.18-patched/lib/freadseek.c 26 --- coreutils-8.18/lib/freadseek.c 2012-07-15 06:26:12.000000000 -0600 27 +++ coreutils-8.18-patched/lib/freadseek.c 2019-08-01 19:23:20.070111747 -0600 37 diff -r -U3 coreutils-8.18/lib/fseeko.c coreutils-8.18-patched/lib/fseeko.c [all …]
|
D | coreutils-8.17-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-8.17/lib/freadahead.c coreutils-8.17-patched/lib/freadahead.c 2 --- coreutils-8.17/lib/freadahead.c 2012-02-11 02:43:22.000000000 -0700 3 +++ coreutils-8.17-patched/lib/freadahead.c 2019-08-01 19:19:11.975280339 -0600 13 diff -r -U3 coreutils-8.17/lib/freadptr.c coreutils-8.17-patched/lib/freadptr.c 14 --- coreutils-8.17/lib/freadptr.c 2012-02-11 02:43:22.000000000 -0700 15 +++ coreutils-8.17-patched/lib/freadptr.c 2019-08-01 19:19:11.975280339 -0600 25 diff -r -U3 coreutils-8.17/lib/freadseek.c coreutils-8.17-patched/lib/freadseek.c 26 --- coreutils-8.17/lib/freadseek.c 2012-02-11 02:43:22.000000000 -0700 27 +++ coreutils-8.17-patched/lib/freadseek.c 2019-08-01 19:19:11.975280339 -0600 37 diff -r -U3 coreutils-8.17/lib/fseeko.c coreutils-8.17-patched/lib/fseeko.c [all …]
|
D | coreutils-6.12-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-6.12/lib/freadahead.c coreutils-6.12-patched/lib/freadahead.c 2 --- coreutils-6.12/lib/freadahead.c 2008-05-14 06:53:25.000000000 -0600 3 +++ coreutils-6.12-patched/lib/freadahead.c 2019-08-01 17:50:52.731658318 -0600 13 diff -r -U3 coreutils-6.12/lib/freadptr.c coreutils-6.12-patched/lib/freadptr.c 14 --- coreutils-6.12/lib/freadptr.c 2008-05-14 06:53:25.000000000 -0600 15 +++ coreutils-6.12-patched/lib/freadptr.c 2019-08-01 17:51:06.867856472 -0600 25 diff -r -U3 coreutils-6.12/lib/freadseek.c coreutils-6.12-patched/lib/freadseek.c 26 --- coreutils-6.12/lib/freadseek.c 2008-05-14 06:53:25.000000000 -0600 27 +++ coreutils-6.12-patched/lib/freadseek.c 2019-08-01 17:51:21.264058094 -0600 37 diff -r -U3 coreutils-6.12/lib/fseterr.c coreutils-6.12-patched/lib/fseterr.c [all …]
|
D | coreutils-6.10-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-6.10/lib/freadahead.c coreutils-6.10-patched/lib/freadahead.c 2 --- coreutils-6.10/lib/freadahead.c 2007-11-08 00:32:20.000000000 -0700 3 +++ coreutils-6.10-patched/lib/freadahead.c 2019-08-01 20:09:03.731243826 -0600 13 diff -r -U3 coreutils-6.10/lib/fseterr.c coreutils-6.10-patched/lib/fseterr.c 14 --- coreutils-6.10/lib/fseterr.c 2007-11-08 00:32:20.000000000 -0700 15 +++ coreutils-6.10-patched/lib/fseterr.c 2019-08-01 20:09:16.407416594 -0600
|
D | coreutils-8.13-on-glibc-2.28.diff | 1 diff -r -U3 coreutils-8.13/lib/freadahead.c coreutils-8.13-patched/lib/freadahead.c 2 --- coreutils-8.13/lib/freadahead.c 2011-08-19 10:09:37.000000000 -0600 3 +++ coreutils-8.13-patched/lib/freadahead.c 2019-08-01 19:02:30.847557265 -0600 13 diff -r -U3 coreutils-8.13/lib/freadptr.c coreutils-8.13-patched/lib/freadptr.c 14 --- coreutils-8.13/lib/freadptr.c 2011-08-19 10:09:37.000000000 -0600 15 +++ coreutils-8.13-patched/lib/freadptr.c 2019-08-01 19:02:30.851557318 -0600 25 diff -r -U3 coreutils-8.13/lib/freadseek.c coreutils-8.13-patched/lib/freadseek.c 26 --- coreutils-8.13/lib/freadseek.c 2011-08-19 10:09:37.000000000 -0600 27 +++ coreutils-8.13-patched/lib/freadseek.c 2019-08-01 19:02:30.851557318 -0600 37 diff -r -U3 coreutils-8.13/lib/fseeko.c coreutils-8.13-patched/lib/fseeko.c [all …]
|