Searched refs:slash (Results 1 – 8 of 8) sorted by relevance
/coreutils/tests/pwd/ |
D | pwd-long.sh | 42 my $slash = -1; 46 $slash = index $dir, '/', $slash + 1; 47 $slash <= -1 49 my $dir_prefix = $slash ? substr ($dir, 0, $slash) : '/'; 54 and return substr $dir, $slash + 1;
|
/coreutils/src/ |
D | rmdir.c | 114 char *slash; in remove_parents() local 120 slash = strrchr (dir, '/'); in remove_parents() 121 if (slash == nullptr) in remove_parents() 125 while (slash > dir && *slash == '/') in remove_parents() 126 --slash; in remove_parents() 127 slash[1] = 0; in remove_parents()
|
D | cp.c | 435 char *slash; in make_dir_parents_private() local 437 slash = src; in make_dir_parents_private() 438 while (*slash == '/') in make_dir_parents_private() 439 slash++; in make_dir_parents_private() 440 dst_reldir = slash; in make_dir_parents_private() 442 while ((slash = strchr (slash, '/'))) in make_dir_parents_private() 447 *slash = '\0'; in make_dir_parents_private() 470 new->slash_offset = slash - dir; in make_dir_parents_private() 581 *slash++ = '/'; in make_dir_parents_private() 585 while (*slash == '/') in make_dir_parents_private() [all …]
|
D | ls.c | 543 slash, /* -p, --indicator-style=slash */ enumerator 557 none, slash, file_type, classify enumerator 2005 indicator_style = slash; in decode_switches() 4930 else if (indicator_style == slash) in get_type_indicator()
|
/coreutils/tests/cp/ |
D | trailing-slash | 2 # For trailing-slash-related tests, see ../mv/trailing-slash.
|
/coreutils/tests/ |
D | local.mk | 234 tests/rm/v-slash.sh \ 419 tests/stat/stat-slash.sh \ 493 tests/cp/dir-slash.sh \ 531 tests/cp/symlink-slash.sh \ 584 tests/du/slash.sh \ 586 tests/du/trailing-slash.sh \ 608 tests/ln/slash-decorated-nonexistent-dest.sh \ 650 tests/ls/symlink-slash.sh \ 667 tests/mkdir/t-slash.sh \ 708 tests/mv/trailing-slash.sh \ [all …]
|
/coreutils/ |
D | NEWS | 648 This is the case on GNU/Linux systems, where the trailing slash is ignored. 3128 rules that a trailing slash ensures that the preceding name is a 3136 readlink -f now ignores a trailing slash when deciding if the 4072 trailing slash in the name of a symlink-to-directory even on 4194 a slash and doesn't exist. E.g., "mv dir B/", for nonexistent B, 4444 ls --file-type worked like --indicator-style=slash (-p), 4649 --indicator-style=slash. Use --file-type or 5496 contain a slash (due to a bug in ftw.c) 5542 * 'du symlink-to-dir/' would improperly remove the trailing slash 5572 * rmdir -p dir-with-trailing-slash/ no longer fails
|
/coreutils/doc/ |
D | coreutils.texi | 1360 This is useful when a @var{source} argument may have a trailing slash and 1363 common because some shells can automatically append a trailing slash when 1366 interpret a trailing slash as a request to dereference the symbolic link 3454 must not contain slash. 5955 the string used is a single slash, as in @option{-F /}. 7884 Although the listing above includes a trailing slash 7886 the trailing slash. However, if you invoke @command{ls} with @option{--dired} 8384 @item slash 8423 @itemx --indicator-style=slash 9163 directory a slash and the specified name of the source file. The last [all …]
|