[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quoting date strings in RCS
From: |
Steven N. Crane |
Subject: |
Re: quoting date strings in RCS |
Date: |
Fri, 16 Feb 2001 11:20:10 -0800 (PST) |
Daniel,
Thanks. I knew it had to be some idiocy on my part.
I just didn't know where. This _does_ go through
a wrapper which redirects to a platform specific image.
(ie, from /usr/local/bin/co to /usr/local/bin/hp/co).
Which of course does not preserve the quoting.
Thanks for focusing my attention on this.
- Steven
Steven N. Crane email: address@hidden
Unigraphics Solutions, Inc. voice: (714) 952-6355
1S-120 fax: (714) 952-6746
10824 Hope St.
Cypress, CA 90630
On Fri, 16 Feb 2001, Daniel Trinkle wrote:
> "Steven N. Crane" <address@hidden> writes:
>
> > Hi,
> >
> > I'm trying to use the -d switch with co. The man page says
> > I need to quote dates with embedded blanks. Fair enough.
> >
> > But it doesn't seem to work for me. (This is with RCS 5.7).
> >
> > I get:
> >
> > > co -p -d"Mon Oct 30 15:07:21 PST 2000" file.c > file.c
> >
> > co: RCS/Oct,v: No such file or directory
> > co: RCS/30,v: No such file or directory
> > co: RCS/15:07:21,v: No such file or directory
> > co: RCS/PST,v: No such file or directory
> > co: RCS/2000,v: No such file or directory
> > (followed by checkout of latest rev of file.c)
> >
> > OR:
> >
> > > co -p -d'Mon Oct 30 15:07:21 PST 2000' file.c > file.c
> >
> > co: RCS/Oct,v: No such file or directory
> > co: RCS/30,v: No such file or directory
> > co: RCS/15:07:21,v: No such file or directory
> > co: RCS/PST,v: No such file or directory
> > co: RCS/2000,v: No such file or directory
> > (followed by checkout of latest rev of file.c)
> >
> > So how AM I supposed to quote the date?
> >
> > Thanks,
> >
> > - Steven
> >
> > Steven N. Crane email: address@hidden
> > Unigraphics Solutions, Inc. voice: (714) 952-6355
> > 1S-120 fax: (714) 952-6746
> > 10824 Hope St.
> > Cypress, CA 90630
>
> This looks like a shell quoting problem. Are you sure you are running
> the "co" command directly? Or are you really running a shell script
> wrapper or ksh function?. When I run
>
> /usr/local/bin/co -p -d'Mon Oct 30 15:07:21 PST 2000' file.c
>
> and
>
> /usr/local/bin/co -p -d'Mon Oct 30 15:07:21 PST 2000' file.c
>
> I get the results expected. Find out where your co command is really
> installed (/usr/local/bin?) and run it with a full path and see if
> that fixes the problem.
>
> Daniel Trinkle address@hidden
> Computer Science-1398 765-494-7844
> Purdue University 765-494-0739 (FAX)
> West Lafayette, IN 47907-1398
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: quoting date strings in RCS,
Steven N. Crane <=