delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/08/11:46:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B715F05.6999EDBC@coreenetworks.com>
Date: Wed, 08 Aug 2001 11:47:18 -0400
From: Richard Ramos <rramos AT coreenetworks DOT com>
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: "Klinksiek, Debra" <dklinksiek AT noblestar DOT com>
CC: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: cygwin/clearcase problem
References: <99805B014A26D211BC3100A0C9B72CB803CEF71C AT exchange-va DOT noblestar DOT com>
X-OriginalArrivalTime: 08 Aug 2001 15:47:18.0495 (UTC) FILETIME=[67770EF0:01C12021]

--------------96BBA2F8C0B26423256EF72B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I found the problem.

In the windows (2000) environment, I have 2 separate temp environment
variables (TMP and TEMP).  For some reason, only  TEMP was
imported into bash.  My script used TEMP.  Apparently, clearcase uses TMP.

I was assuming all of the windows environment variables were imported into
bash.

Thanks for your help.

Rich

"Klinksiek, Debra" wrote:

> I use cygwin and clearcase quite a bit. I have not had any problems like you
> mention. If you are using cleartool (ct) then you can use either / or \ as
> the directory separator. CC got its start in the UNIX world and has adapted
> to Windows.
>
> What are the values of $i? Are there blanks? If so you need to quote the
> file names.
>
> Debbie
>
> -----Original Message-----
> From: Michael Hoffman [mailto:hoffmanm AT cshl DOT org]
> Sent: August 08, 2001 09:33
> To: Richard Ramos
> Cc: Cygwin
> Subject: Re: cygwin/clearcase problem
>
> On Wed, 8 Aug 2001, Richard Ramos wrote:
>
> > At the bash prompt I used forward slashes.  At the dos prompt I used
> > backslashes.
>
> Try doing the exact same command in bash as you did in the DOS window,
> replacing all of the single backslashes with double backslashes to
> escape.
>
> If that doesn't work, it's going to be hard to help you without
> knowing anything about clearcase.
> --
> Michael Hoffman <hoffmanm AT cshl DOT org>
> Cold Spring Harbor Laboratory
>
> Original messages:
>
> > I also tried your suggestion below with no change in results.
> >
> > Thanks
> > Rich
> >
> > Michael Hoffman wrote:
> >
> > > On Tue, 7 Aug 2001, Richard Ramos wrote:
> > >
> > > > I'm running a clearcase client on a windows 2000 platform.  I wrote
> > > > a bash script to move files under clearcase source control.  The
> > > > script performs the following lines:
> > > >
> > > > [SNIP]
> > > >
> > > > Created element "blah/blah/file.h" (type "text_file").
> > > > text_file_delta: Error: Can't create temporary file:  No such file or
> directory
> > > > cleartool: Error: Type manager "text_file_delta" failed create_version
> operation
> > > > cleartool: Error: Unable to check in "leap/osprims/winnt/os_defs.h".
> > > >
> > > > Note the the clearcase element was successfully created.
> > > >
> > > > The reason I'm asking this forum is that the command fails in
> > > > exactly the same way from the bash prompt but it works fine from a
> > > > DOS command prompt.  I posed the question to Rational and they
> > > > hadn't heard of Cygwin before and couldn't help (yet).
> > >
> > > What are the exact commands you are typing in on the command line? Are
> > > they really exactly the same or did you change the forward slashes to
> > > backslashes for command.com/cmd.exe?
> > >
> > > See <http://www.cygwin.com/faq/faq_4.html#SEC29> and try using
> > > `cygpath --windows $i` in lieu of $i.
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--------------96BBA2F8C0B26423256EF72B
Content-Type: text/x-vcard; charset=us-ascii;
 name="rramos.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Richard Ramos
Content-Disposition: attachment;
 filename="rramos.vcf"

begin:vcard 
n:Ramos;Richard
tel;work:732-380-2846
x-mozilla-html:FALSE
org:Coree Networks
adr:;;56 Park Road;Tinton Falls;NJ;07724;
version:2.1
email;internet:rramos AT coreenetworks DOT com
title:Software Engineer
fn:Richard Ramos
end:vcard


--------------96BBA2F8C0B26423256EF72B
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------96BBA2F8C0B26423256EF72B--

- Raw text -


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