Home
last modified time | relevance | path

Searched refs:base (Results 1 – 19 of 19) sorted by relevance

/coreutils/tests/pwd/
Dpwd-option.sh24 base=$(env -- pwd -P)
27 cd "$base" || framework_failure_
28 test "x$PWD" = "x$base" || framework_failure_
32 test "x$PWD" = "x$base/c" || skip_ "cd does not properly update \$PWD"
35 printf %s\\n "$base/c" > exp || fail=1
38 printf %s\\n "$base/a/b" >> exp || fail=1
41 printf %s\\n "$base/a/b" >> exp || fail=1
45 printf %s\\n "$base/a/b" >> exp || fail=1
48 printf %s\\n "$base/c" >> exp || fail=1
52 printf %s\\n "$base/a/b" >> exp || fail=1
[all …]
/coreutils/tests/misc/
Drealpath.sh46 returns_ 1 realpath --relative-base . --relative-to . || fail=1
47 returns_ 1 realpath --relative-base . || fail=1
50 returns_ 1 realpath -e --relative-to=dir1/f --relative-base=. . || fail=1
51 realpath -e --relative-to=dir1/ --relative-base=. . || fail=1
55 returns_ 1 realpath --relative-base= --relative-to=. . || fail=1
74 out=$(realpath -sm --relative-base=/usr --relative-to=/usr /tmp /usr) || fail=1
76 out=$(realpath -sm --relative-base=/ --relative-to=/ / /usr) || fail=1
79 out=$(realpath -sm --relative-base=/usr /tmp /usr) || fail=1
81 out=$(realpath -sm --relative-base=/ / /usr) || fail=1
85 out=$(realpath -sm --relative-base=/usr/local --relative-to=/usr \
[all …]
/coreutils/build-aux/
Dgen-single-binary.sh78 base="src_libsinglebin_${cmd}_a"
82 echo "${base}_SOURCES = $value"
88 echo "${base}_ldadd = $value"
101 echo "${base}_CFLAGS = \"-Dmain=single_binary_main_${cmd} (int, char **);" \
107 echo "${base}_CFLAGS += $value"
114 echo "${base}_CPPFLAGS = $value"
/coreutils/scripts/
Dautotools-install82 base=`basename $t`
83 pkgs="$pkgs $base"
84 test -f $base || $WGET_COMMAND $t
87 case $base in pkg-config*) continue;; esac
89 test -f $base.sig || $WGET_COMMAND $t.sig
99 $base.sig > /dev/null 2>&1 \
100 || echo "info: not verifying GPG signature for $base" 1>&2
/coreutils/tests/ls/
Dreaddir-mountpoint-inode.sh51 base=$(basename "$mount_point")
52 case "$base" in
56 opts=$(ls_ignore_options "$base")
/coreutils/src/
Drealpath.c255 char *base = realpath_canon (relative_base, can_mode); in main() local
256 if (!base) in main()
258 if (need_dir && !isdir (base)) in main()
262 if (path_prefix (base, can_relative_to)) in main()
263 can_relative_base = base; in main()
266 free (base); in main()
Dshred.c1039 char *base = last_component (newname); in wipename() local
1053 for (size_t len = base_len (base); len != 0; len--) in wipename()
1055 memset (base, nameset[0], len); in wipename()
1056 base[len] = 0; in wipename()
1061 && errno == EEXIST && incname (base, len)) in wipename()
1078 memcpy (oldname + (base - newname), base, len + 1); in wipename()
Dnumfmt.c324 powerld (long double base, int x) in powerld() argument
326 long double result = base; in powerld()
334 result *= base; in powerld()
350 expld (long double val, int base, int /*output */ *x) in expld() argument
356 while (absld (val) >= base) in expld()
359 val /= base; in expld()
Dstty.c2119 strtoul_tcflag_t (char const *s, int base, char **p, tcflag_t *result, in strtoul_tcflag_t() argument
2124 ul = strtoul (s, p, base); in strtoul_tcflag_t()
2133 strtoul_cc_t (char const *s, int base, char **p, cc_t *result, char delim) in strtoul_cc_t() argument
2137 ul = strtoul (s, p, base); in strtoul_cc_t()
Dsort.c3025 struct line const **base = xnmalloc (nfiles, sizeof *base); in mergefps() local
3046 base[i] = linelim - buffer[i].nlines; in mergefps()
3122 if (base[ord[0]] < smallest) in mergefps()
3130 base[ord[0]] = linelim - buffer[ord[0]].nlines; in mergefps()
3152 base[i] = base[i + 1]; in mergefps()
3198 free (base); in mergefps()
Dls.c3738 char const *base = last_component (name); in basename_is_dot_or_dotdot() local
3739 return dot_or_dotdot (base); in basename_is_dot_or_dotdot()
/coreutils/gl/lib/
Dxdectoint.c37 __xnumtoint (char const *n_str, int base, __xdectoint_t min, __xdectoint_t max, in __xnumtoint() argument
43 s_err = __xstrtol (n_str, nullptr, base, &tnum, suffixes); in __xnumtoint()
Dxdectoint.h28 type name (char const *n_str, int base, type min, type max, \
/coreutils/scripts/build-older-versions/
Dbuild-older-versions.sh25 base=$(basename "$0")
29 echo "$base: error: $*" >&2
35 echo "$base: warning: $*" >&2
/coreutils/tests/fmt/
Dgoal-option.sh22 cat <<\_EOF_ > base || framework_failure_
37 fmt -g 60 -w 72 base > out || fail=1
/coreutils/doc/
Dperm.texi282 You can base a file's permissions on its existing permissions. To do
493 alternative to giving a symbolic mode, you can give an octal (base 8)
Dcoreutils.texi2012 Select the base in which file offsets are printed. @var{radix} can
13032 to get the current base mount point
14909 @item --relative-base=@var{dir}
14910 @opindex --relative-base
14916 For details about combining @option{--relative-to} and @option{--relative-base},
14951 @opindex --relative-base
14981 With @option{--relative-base}, relative file names are printed @emph{if}
14982 the resolved file name is below the given base directory. For files outside the
14983 base directory absolute file names are printed:
14987 realpath --relative-base=/usr \
[all …]
/coreutils/tests/
Dlocal.mk242 tests/fmt/base.pl \
530 tests/cp/src-base-dot.sh \
/coreutils/
DNEWS1774 Now df shows the base mounted file system rather than the last one mounted.
2313 but could also be observed with --relative-base=/ or
2322 'realpath --relative-base=dir' in isolation now implies '--relative-to=dir'
3108 ls --color now reverts to the color of a base file type consistently