ack/util/int/M.warn_msg

15 lines
186 B
Plaintext
Raw Permalink Normal View History

1988-06-22 16:57:09 +00:00
#!/bin/sh
1994-06-24 11:31:16 +00:00
# $Id$
1988-06-22 16:57:09 +00:00
echo '/* This file is generated from '$1'; do not edit */'
cat $1 |
grep '^\.Wn' |
sed '
s/^\.Wn[ ]*/ {/
s/[ ]*[0-9][0-9]*$/},/
s/"[ ][ ]*W/", W/
s/\\-/-/g
'
1988-06-22 16:57:09 +00:00