# Copyright (c) 1980 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)makeoptions 6.6 (Berkeley) %G%
# remake options -- this isn't necessary unless you add/delete options
" delete all preprocessor output (# line, etc)
" delete junk (all but data lines)
" get rid of all of line but option name
" begin kludge since options start at 0 but cat -n starts at 1
" move first to end and later move it back and renumber
1,$s/[ ]*\([0-9][0-9]*\)[ ]*\(.*\)/#define \U\2\L \1/
" filter through expand to make it line up nice
" blank line and number of options.
/* sccs id @(#) ex_vars.h @(#)makeoptions 6.6 %G% */