-
Notifications
You must be signed in to change notification settings - Fork 17
/
realpath.sh
19 lines (17 loc) · 1.04 KB
/
realpath.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash
# Automatic generated, DON'T MODIFY IT.
# @flag -e --canonicalize-existing all components of the path must exist
# @flag -m --canonicalize-missing no path components need exist or be a directory
# @flag -L --logical resolve '..' components before symlinks
# @flag -P --physical resolve symlinks as encountered (default)
# @flag -q --quiet suppress most error messages
# @option --relative-to <DIR> print the resolved path relative to DIR
# @option --relative-base <DIR> print absolute paths unless paths below DIR
# @flag -s don't expand symlinks
# @flag --strip don't expand symlinks
# @flag --no-symlinks don't expand symlinks
# @flag -z --zero end each output line with NUL, not newline
# @flag --help display this help and exit
# @flag --version output version information and exit
# @arg file*
command eval "$(argc --argc-eval "$0" "$@")"