#!/bin/sh # mkpsprolog for VideoteXt # # $Id: mkpsprolog,v 1.1 1996/11/03 23:55:28 mb Exp mb $ # # Copyright (c) 1995-96 Martin Buck # Read COPYING for more information # Maybe sed would be more suitable for such a simple task, but you already # need gawk for mktitlepage & mkvtxfont, so why not use it here... exec gawk ' BEGIN { print "/* This file was created automatically by mkpsprolog. DO NOT EDIT */" print "" print "static unsigned char *ps_prolog[] = {" } { print " \"" $0 "\"," } END { print " NULL" print "};" } '