when executed with file name containing spaces, basename returns only
   first part of file name (until space).

Try quoting the string.

[EMAIL PROTECTED]:~$ basename "/home/ams/frob ni.cate"
frob ni.cate

Space is treated as a seperator of arguments on GNU and Unixoid
systems.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to