Lines Matching +full:- +full:- +full:show +full:- +full:missing
1 /* readlink.c - Return string representation of a symbolic link.
5 USE_READLINK(NEWTOY(readlink, "<1vnf(canonicalize)emqz[-mef][-qv]", TOYFLAG_USR|TOYFLAG_BIN))
6 USE_REALPATH(NEWTOY(realpath, "<1(relative-base):R(relative-to):s(no-symlinks)LPemqz[-Ps][-LP][-me]…
12 usage: readlink [-efmnqz] FILE...
14 With no options, show what symlink points to, return error if not symlink.
18 -e Canonical path to existing entry (fail if missing)
19 -f Full path (fail if directory missing)
20 -m Ignore missing entries, show where it would be
21 -n No trailing newline
22 -q Quiet (no error messages)
23 -z NUL instead of newline
29 usage: realpath [-LPemqsz] [--relative-base DIR] [-R DIR] FILE...
33 -R Show ../path relative to DIR (--relative-to)
34 -L Logical path (resolve .. before symlinks)
35 -P Physical path (default)
36 -e Canonical path to existing entry (fail if missing)
37 -m Ignore missing entries, show where it would be
38 -q Quiet (no error messages)
39 -s Don't expand symlinks
40 -z NUL instead of newline
41 --relative-base If path under DIR trim off prefix
52 // test TT.relative_base -RsmLP
53 // Trim .. out early for -s and -L. TODO: in place in the input string.
95 // Uses realpath flag context: flags (1 = resolve, 2 = -n)
117 // Convert readlink flag context to realpath (feeding in -nf separately)
122 toys.optflags &= FLAG_f-1; in readlink_main()