help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quoting date strings


From: Hugh Sasse Staff Elec Eng
Subject: Re: quoting date strings
Date: Thu, 15 Feb 2001 10:16:23 +0000 (GMT)

On Wed, 14 Feb 2001, Steven N. Crane wrote:

> 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
    [...]
> 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
    [...]
> (followed by checkout of latest rev of file.c)
> 
    I suppose: 

   co -p -d'Mon\ Oct\ 30\ 15:07:21\ PST\ 2000' file.c > file.c

    might be worth trying...  I've not tested it though.
> So how AM I supposed to quote the date?
> 
> Thanks,
> 
> - Steven
> 
        Hugh




reply via email to

[Prev in Thread] Current Thread [Next in Thread]