#!/bin/sh echo "#include " echo "namespace Web::CSS {" echo "extern StringView $1;" echo "StringView $1 = \"\\" grep -v '^ *#' < "$2" | while IFS= read -r line; do echo "$line""\\" done echo "\"sv;" echo "}"