Untitled

 avatar
user_0361413
plain_text
a year ago
107 B
1
Indexable
Never
command -v realpath >/dev/null 2>&1 || realpath() {
    [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
}