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

This commit is contained in:
ceriel 1995-08-15 08:43:10 +00:00
parent f8d6337862
commit 65cd309c08
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
ed - Lpars.h <<'+' ed -s Lpars.h <<'+'
1d 1d
1,$s/# *define // 1,$s/# *define //
1,$s/ ...$// 1,$s/ ...$//

View file

@ -7,7 +7,7 @@ case x$# in
exit 1 exit 1
;; ;;
esac esac
ed - $2 << A ed -s $2 << A
1,/^\$/d 1,/^\$/d
1,/^\$/d 1,/^\$/d
1,/^\$/g/^\(...\) [$1].*/s//\\1/gp 1,/^\$/g/^\(...\) [$1].*/s//\\1/gp