#!/bin/bash -efu

if ! test -e "$1"; then
	echo >&2 "readlink: $1: No such file or directory"
	exit 1
fi
exec readlink -fv -- "$1"
