'ed -' is no longer supported by some systems. Use 'ed -s'
authorceriel <none@none>
Mon, 14 Aug 1995 08:08:56 +0000 (08:08 +0000)
committerceriel <none@none>
Mon, 14 Aug 1995 08:08:56 +0000 (08:08 +0000)
first/get_makepars
first/install_tail
first/limit_impl
first/mk_config
first/mk_makefile

index 1042579..24cdf85 100755 (executable)
@@ -69,7 +69,7 @@ then
        fi
        case $ACM in
        sun3|sparc)
-               ed - make_macros <<'EOF'
+               ed -s make_macros <<'EOF'
 /cc-and-mkdep.sun/s/^..//
 w
 q
index 5313a3a..99aff0e 100644 (file)
@@ -21,7 +21,7 @@ $SRC_HOME/first/limit_impl
 
 case $SYSNAME in
 i386)
-       ed - $TARGET_HOME/lib/descr/fe << 'ABC'
+       ed -s $TARGET_HOME/lib/descr/fe << 'ABC'
 1,$s/-D{NAME}/-D{NAME} -DNO_PROTOTYPE/
 w
 q
@@ -41,12 +41,12 @@ fi
 
 case X$SYSVAX in
 Xvax_sysV_2)
-       ed - $TARGET_HOME/lib/vax4/descr << 'ABC'
+       ed -s $TARGET_HOME/lib/vax4/descr << 'ABC'
 /CPP_F/s/$/ -D__USG/
 w
 q
 ABC
-       ed - $CONFIG/mach/vax4/Action << 'ABC'
+       ed -s $CONFIG/mach/vax4/Action << 'ABC'
 /libbsd4_2/s/libbsd4_2/libsysV_2/
 w
 q
@@ -54,7 +54,7 @@ ABC
        ( cd $CONFIG/mach/vax4
          for i in libcc libcc.ansi
          do
-               ed - $i/Makefile << 'ABC'
+               ed -s $i/Makefile << 'ABC'
 /BFS/s/BFS/UFS/
 w
 q
@@ -63,14 +63,14 @@ ABC
        )
        ;;
 Xvax_bsd4_2)
-       ed - $TARGET_HOME/lib/vax4/descr << 'ABC'
+       ed -s $TARGET_HOME/lib/vax4/descr << 'ABC'
 /CPP_F/s/$/ -D__BSD4_2/
 w
 q
 ABC
        ;;
 Xvax_bsd4_1a)
-       ed - $CONFIG/mach/vax4/Action << 'ABC'
+       ed -s $CONFIG/mach/vax4/Action << 'ABC'
 /libbsd4_2/s/libbsd4_2/libbsd4_1a/
 w
 q
index 058dd89..2314ab7 100755 (executable)
@@ -1,13 +1,13 @@
 for i in $DISABLE_LANG
 do
-       ed - $CONFIG/Action <<EOF
+       ed -s $CONFIG/Action <<EOF
 /^name "$i/;/^end/s/^/!/
 w
 q
 EOF
        case $i in
        Modula-2)
-               ed - $CONFIG/Action <<EOF
+               ed -s $CONFIG/Action <<EOF
 /^name "$i definition/;/^end/s/^/!/
 /^name "$i makefile/;/^end/s/^/!/
 w
@@ -15,14 +15,14 @@ q
 EOF
                ;;
        ANSI-C) : install compiler anyway
-               ed - $CONFIG/Action <<EOF
+               ed -s $CONFIG/Action <<EOF
 /^!name "$i frontend/;/^!end/s/^!//
 w
 q
 EOF
                ;;
        C)      : install compiler anyway
-               ed - $CONFIG/Action <<EOF
+               ed -s $CONFIG/Action <<EOF
 /^!name "$i frontend/;/^!end/s/^!//
 w
 q
@@ -112,7 +112,7 @@ done
 DISABLE_INT=0
 for i in $DISABLE_SUP
 do
-       ed - $CONFIG/Action <<EOF
+       ed -s $CONFIG/Action <<EOF
 /^dir .*$i\$/;?^name?;/^end/s/^/!/
 w
 q
@@ -170,7 +170,7 @@ m68*|sun2|sun3|pmds*)
 esac
 if test $DISABLE_INT = 1
 then
-       ed - $CONFIG/Action <<EOF
+       ed -s $CONFIG/Action <<EOF
 /68000 interpreters/;/^end/s/^/!/
 w
 q
@@ -185,7 +185,7 @@ then
                do
                        if fgrep -s $j $i
                        then
-                               ed - $i <<EOF
+                               ed -s $i <<EOF
 /$j/;?^name?,/^end/s/^/!/
 w
 q
@@ -197,7 +197,7 @@ fi
 
 if [ $DO_FAST = n ]
 then
-       ed - $CONFIG/Action <<'EOF'
+       ed -s $CONFIG/Action <<'EOF'
 /^name "Peephole optimizer lib/;/^end/s/^/!/
 /^name "Fast/;$s/^/!/
 w
index 9a204ee..6af9ee9 100755 (executable)
@@ -77,7 +77,7 @@ do
                mk_makefile $SRC_HOME/mach/proto/ncg/proto.make | sed -e "/#MACH_DEFINE/,/^MACH/s/=.*/= $i/" > Makefile
                if [ -f $SRC_HOME/mach/$i/ncg/table_dir ]
                then
-                       ed - Makefile <<EOF
+                       ed -s Makefile <<EOF
 /^#TABLE_DEFINE/+1r $SRC_HOME/mach/$i/ncg/table_dir
 w
 q
index 3fa122d..9743547 100755 (executable)
@@ -14,7 +14,7 @@ esac
 
 cp $1 /tmp/mk_mak$$
 
-ed - /tmp/mk_mak$$ << 'EOF'
+ed -s /tmp/mk_mak$$ << 'EOF'
 /^#PARAMS/c
 #PARAMS                do not remove this line!
 .
@@ -23,7 +23,7 @@ q
 EOF
 case `ack_sys` in
 sparc_solaris)
-       ed - /tmp/mk_mak$$ << 'EOF'
+       ed -s /tmp/mk_mak$$ << 'EOF'
 g/^EXTRALIB/s/=/= -lelf/
 w
 q