question on Cygwin's version of make
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Mar 2 09:11:00 GMT 2012
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
c
$ basename "/a/b/c.d .d"
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"
Hello
$ cat c.d .d
cat: c.d: No such file or directory
cat: .d: No such file or directory
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list