'ed -' is no longer supported by some systems. Use 'ed -s'
This commit is contained in:
parent
f34bf4b487
commit
f8d6337862
|
@ -1,5 +1,5 @@
|
||||||
echo "/* this part is generated from $1 at: " `date` "*/"
|
echo "/* this part is generated from $1 at: " `date` "*/"
|
||||||
ed - $1 <<'EOI'
|
ed -s $1 <<'EOI'
|
||||||
1,/^$/d
|
1,/^$/d
|
||||||
1,/^$/d
|
1,/^$/d
|
||||||
1,$s/^\(...\) \(.\).*/\1:\2/
|
1,$s/^\(...\) \(.\).*/\1:\2/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
: '$Id$'
|
: '$Id$'
|
||||||
grep '^#' y.tab.h >tokendefs
|
grep '^#' y.tab.h >tokendefs
|
||||||
ed - $1 <<'!Funky!Stuff!'
|
ed -s $1 <<'!Funky!Stuff!'
|
||||||
g/^#/d
|
g/^#/d
|
||||||
1,$s/\([^ ]*\)[ ][ ]*\(.*\)/ sy_p=lookup("\1",symkeyw,newsymbol);sy_p->sy_value.syv_keywno=\2;/
|
1,$s/\([^ ]*\)[ ][ ]*\(.*\)/ sy_p=lookup("\1",symkeyw,newsymbol);sy_p->sy_value.syv_keywno=\2;/
|
||||||
1i
|
1i
|
||||||
|
|
Loading…
Reference in a new issue