#!/bin/sh
# XXX this is likely SLOW!
# see also canonpath
for A; do
	printf "%s\n" "$(p "`dirname -- "$A"`")/`basename -- "$A"`"
done
