Skip to content
pi-c Artifact [1537269d82]
Login

Artifact [1537269d82]

Artifact 1537269d82ecc20072417e38b169b26b004e7fbb847e674f946220abf0d5256b:


#!/bin/sh
# CHANGELOG.md as C string literals, for src/changelog.inc: the text pic's
# /changelog shows, compiled in so the binary needs no file.
set -eu
awk 'BEGIN { print "/* Generated from CHANGELOG.md by tools/changelog-inc.sh; do not edit. */" }
     { gsub(/\\/, "\\\\"); gsub(/"/, "\\\""); printf "\"%s\\n\"\n", $0 }' "${1:-CHANGELOG.md}"