Re: [Sccs-devel] SCCS keyword expansion issue
The UNIX Source Code Control System activelty maintained/enhanced
Brought to you by:
schily
From: thinkunix <thi...@zo...> - 2018-08-06 21:16:30
|
Jonathan Leffler wrote: > The classic technique... was to use extra quotes to > break up the strings that could be identified as SCCS keywords. For > example, something along the lines of: > > DATE=$(date +'%Y''%m%d-%H''%M''%S') > Eventually I found an alternative, but roughly > equivalent, technique: > > RCS/build.ids.sh <http://build.ids.sh>,v:tag=`date +JL-"%Y"%m"%d"."%H"%M"%S"` # SCCS! > > This uses pairs of double quotes around `%X` units within the format > string (and the earliest version dates back to 2004). > Thanks for the quick answer. I've tested both your suggestions and they work with Schily SCCS. scot |