From: ceriel Date: Mon, 14 Aug 1995 08:08:56 +0000 (+0000) Subject: 'ed -' is no longer supported by some systems. Use 'ed -s' X-Git-Tag: release-5-5~104 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c587ca287eec1e673c8d363997c9af314523b3fa;p=ack.git 'ed -' is no longer supported by some systems. Use 'ed -s' --- diff --git a/first/get_makepars b/first/get_makepars index 1042579cd..24cdf85a3 100755 --- a/first/get_makepars +++ b/first/get_makepars @@ -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 diff --git a/first/install_tail b/first/install_tail index 5313a3a43..99aff0ea2 100644 --- a/first/install_tail +++ b/first/install_tail @@ -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 diff --git a/first/limit_impl b/first/limit_impl index 058dd89f7..2314ab7a0 100755 --- a/first/limit_impl +++ b/first/limit_impl @@ -1,13 +1,13 @@ for i in $DISABLE_LANG do - ed - $CONFIG/Action < Makefile if [ -f $SRC_HOME/mach/$i/ncg/table_dir ] then - ed - Makefile <