This is the mail archive of the
mailing list for the Cygwin project.
Re: question on Cygwin's version of make
On Mar 1 17:50, Paul Allen Newell wrote:
> Given that the problem is identified (basename doesn't like spaces),
This is not correct. It's not that basename doesn't like spaces, the
problem is incorrect quoting. Example:
$ basename /a/b/c.d .d
$ basename "/a/b/c.d .d"
And since the result still contains a space, you still have to quote
it when using it in subsequent calls:
$ cat "c.d .d"
$ cat c.d .d
cat: c.d: No such file or directory
cat: .d: No such file or directory
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple