Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ll-xn!husc6!rutgers!tut.cis.ohio-state.edu!uccba!alobar!grs From: grs@alobar.ATT.COM (Gregg Siegfried) Newsgroups: comp.unix.questions Subject: Re: RCS and SCCS Summary: Unwanted keyword expansion Keywords: sccs keywords Message-ID: <200@alobar.ATT.COM> Date: 2 Aug 88 11:47:48 GMT References: <890@fig.bbn.com> <710@ubu.warwick.UUCP> <661@pyuxe.UUCP> <29953@cca.CCA.COM> <1023@unccvax.UUCP> <8187@brl-smoke.ARPA> <3494@rpp386.UUCP> <1207@dragon.UUCP> Reply-To: grs@alobar.UUCP (Gregg Siegfried) Distribution: na Organization: AT&T OSS Development, Cincinnati Lines: 28 In article <1207@dragon.UUCP> charles@dragon.UUCP (Charles Wolff, 602 438-3432) writes: > DATE_TOUCH=`date +%m%d%H%M%y` > >when we checked it into and back out of the sccs source base however, >something happened... sccs saw %H% in the middle of the line and decided >that was an SCCS significant string... so on checking out the file, >converted it to the current date in MM/DD/YY format. Oops... if anybody >has any brilliant suggestions for how to get around this, they'd be >welcome... I experienced this in a C program about a year ago .. It can be the source of some really interesting results. I got around it by using backslashes. DATE_TOUCH=`date +%m\%d\%H\%M\%y` should do the trick.. >"Whenever the literary German dives into a sentence, | Charles Wolff >that is the last you are going to see of him till he | Motorola Microsystems >emerges on the other side of his Atlantic with his verb | Tempe, AZ >in his mouth." --Mark Twain, Connecticut Yankee | (602) 438-3432 -- Gregg Siegfried | Nothing I say should be taken as AT&T AT&T - Cincinnati | policy or opinion .. I just hack here. UUCP: grs@alobar.att.com | Don't Rock - Wobble ARPA: grs%alobar.att.arpa | 513-629-8314 (work) 513-561-0368 (antiwork)