diff --git a/modules/src/em_code/make.em.gen b/modules/src/em_code/make.em.gen index 083a6b03f..285b2855f 100755 --- a/modules/src/em_code/make.em.gen +++ b/modules/src/em_code/make.em.gen @@ -1,5 +1,5 @@ echo "/* this part is generated from $1 at: " `date` "*/" -ed - $1 <<'EOI' +ed -s $1 <<'EOI' 1,/^$/d 1,/^$/d 1,$s/^\(...\) \(.\).*/\1:\2/ diff --git a/util/ncgg/cvtkeywords b/util/ncgg/cvtkeywords index 818bf7ed2..10ba2e111 100755 --- a/util/ncgg/cvtkeywords +++ b/util/ncgg/cvtkeywords @@ -1,6 +1,6 @@ : '$Id$' grep '^#' y.tab.h >tokendefs -ed - $1 <<'!Funky!Stuff!' +ed -s $1 <<'!Funky!Stuff!' g/^#/d 1,$s/\([^ ]*\)[ ][ ]*\(.*\)/ sy_p=lookup("\1",symkeyw,newsymbol);sy_p->sy_value.syv_keywno=\2;/ 1i