From f8d63378625961cbfcf1d4724e01df860182d176 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 14 Aug 1995 15:09:59 +0000 Subject: [PATCH] 'ed -' is no longer supported by some systems. Use 'ed -s' --- modules/src/em_code/make.em.gen | 2 +- util/ncgg/cvtkeywords | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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