The output of your command "
dirname /usr/gnu/bin/date
" is:
/usr/gnu/bin