1 # Inspired by xemacs' config.status script 2 # submitted by John Fremlin (john (a] fremlin.de) 3 4 /^# Generated/d 5 s%/\*\*/#.*%% 6 s/^ *# */#/ 7 /^##/d 8 /^#/ { 9 p 10 d 11 } 12 /./ { 13 s/\([\"]\)/\\\1/g 14 s/^/"/ 15 s/$/"/ 16 } 17