delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/01/02:43:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,MISSING_HEADERS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F4F2877.4080006@cs.cmu.edu>
Date: Wed, 29 Feb 2012 23:42:47 -0800
From: Paul Allen Newell <pnewell AT cs DOT cmu DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com, "Newell, Paul" <pnewell AT cs DOT cmu DOT edu>
Subject: Re: question on Cygwin's version of make
References: <4F4F21AC DOT 7060209 AT cs DOT cmu DOT edu> <CAB8Xom9zz5CN+yE6cHBj-h-PG4aUxghckkmAYZiQko8SfmNuhQ AT mail DOT gmail DOT com>
In-Reply-To: <CAB8Xom9zz5CN+yE6cHBj-h-PG4aUxghckkmAYZiQko8SfmNuhQ@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Marco:

Thanks for reply, my comments inline

On 2/29/2012 11:23 PM, marco atzeri wrote:
>
> names with spaces are always a problem for a lot of unix/cygwin
> program, so my suggestion
> is to rename the directory.
> Please also note that copy&paste will likely mess your file permission

Yes, I solved the problem by removing spaces. I always create 
directories and files without spaces. but a cut-and-paste in Windows 
doesn't respect such. I haven't seen any permissions problems on a 
cut-and-paste .. the only issue I see is when I port back to Fedora and 
have a script to get rid of everything being an executable.

I am just hoping that I can understand where basename is executed so I 
can flag the problem. It ain't a show-stopper, but it would be nice to 
just do a cut-and-paste followed by a make in the new directory which 
should tell me "you got spaces".
>>
>> I also noticed that if I run "make>&  make.out" that the message is printed
>> to the terminal and is not in make.out. What am I missing to capture all
>> output in make.out?
> I like this way
>
> make&2>1  |tee make.out
>
> "&2>1"  redirect the error message to the std output
>

Okay ... interesting ... can I beg a bit more of an explanation as I 
don't understand the difference between ">&" and "&2>1" (bash stuff is 
an an area that I am maybe "less than a newbie")

Thanks,
Paul

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019