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.
__
On Tue, 14 Aug 2007, Rihards Kazainis wrote:
when executed with file name containing spaces, basename returns only
first part of file name (until space).
I can't reproduce this:
$ basename --version
basename (GNU coreutils) 5.93
$ basename '/tmp/filename with spaces'
filename with spaces
Cou
Hi
when executed with file name containing spaces, basename returns only
first part of file name (until space).
Rihards
___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils