'ed -' is no longer supported by some systems. Use 'ed -s'

This commit is contained in:
ceriel 1995-08-14 15:09:59 +00:00
parent f34bf4b487
commit f8d6337862
2 changed files with 2 additions and 2 deletions

View file

@ -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/

View file

@ -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