moench and lookinginto max1932

This commit is contained in:
2018-12-19 17:16:41 +01:00
parent f161d68efc
commit a013734af8
29 changed files with 3059 additions and 7 deletions

View File

@ -0,0 +1,7 @@
SRCFILE=gitInfoMoench.h
DSTFILE=versionAPI.h
SRCPATTERN=GITDATE
DSTPATTERN=APIMOENCH
awk -v a="$SRCFILE" -v b="$DSTFILE" -v c="$SRCPATTERN" -v d="$DSTPATTERN" 'FNR==NR&&$2==c{x=$3} NR!=FNR{if($2==d){$3="0x"substr(x,5)}print > b}' $SRCFILE $DSTFILE