1#!/bin/sh 2 3if test "$#" = 0; then 4 echo "Usage: $0 DECL-SPEC FILE..." 5 exit 1 6fi 7decl="$1" 8shift 9 10echo "$decl =" 11sed ' 12s/\\/\\\\/g; 13s/"/\\"/g; 14s/^/"/; 15s/$/\\n"/; 16' "$@" 17echo ";" 18