[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: basename whitespace bug
From: |
Philip Rowlands |
Subject: |
Re: basename whitespace bug |
Date: |
Tue, 14 Aug 2007 19:29:33 +0100 (BST) |
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
Could you give an example transcript of the problem you're seeing. It's
possible there's a misunderstanding about how the shell passes
arguments to basename; be sure to quote the filename properly.
Cheers,
Phil