# This is file 'vc-bzr.awk' from the vc bundle for TeX. # The original file can be found at CTAN:support/vc. # This file is Public Domain. BEGIN { ### Assume clean working copy. Clean = "True" } /^revision-id:/ { RevisionId = substr($0, 2+match($0, ":")) } /^date:/ { Date = substr($0, 2+match($0, ":")) } /^build-date:/ { BuildDate = substr($0, 2+match($0, ":")) } /^revno:/ { RevNo = substr($0, 2+match($0, ":")) } /^branch-nick:/ { BranchNick = substr($0, 2+match($0, ":")) } /^clean:/ { Clean = substr($0, 2+match($0, ":")) } END { ### Extract relevant information from variables. elements = split(RevisionId, elem, "-") Author = elem[1] for (i=2; i