Re: SCCS Question
Posted in 1999
Topics: General Discussion
Steve Romankiw wrote: > > I have a script that it conflicting with SCCS. In the example below, > the %Y% in the date clause is getting interpretted by SCCS. > > Is there a way to make SCCS ignore this clause? Use RCS instead? Seriously, use the -k option to get to extract without replacing keywords. Unfortunately this will ignore your %W% keyword as well and not generate the what string which kind of defeats the purpose. Hmm switching to RCS begins to sound good... > > Example: > ============== > #!/bin/ksh > #----- > # SccsId %W% > #----- > fmtdate=$(date '+%Y%m%d') # %Y% conflicts with SCCS > # > echo Formated Date: ${fmtdate} Art S. Kagel
I should probably use RCS instead of SCCS, too. I mistakenely type "ci" rather than "vi" so often that I have it aliased in my .profile! allen "Art S. Kagel" wrote: > > Steve Romankiw wrote: > > > > I have a script that it conflicting with SCCS. In the example below, > > the %Y% in the date clause is getting interpretted by SCCS. > > > > Is there a way to make SCCS ignore this clause? > > Use RCS instead? Seriously, use the -k option to get to extract without > replacing keywords. Unfortunately this will ignore your %W% keyword as > well and not generate the what string which kind of defeats the purpose. > Hmm switching to RCS begins to sound good... > > > > > Example: > > ============== > > #!/bin/ksh > > #----- > > # SccsId %W% > > #----- > > fmtdate=$(date '+%Y%m%d') # %Y% conflicts with SCCS > > # > > echo Formated Date: ${fmtdate} > > Art S. Kagel