basename instead of awk