'ed -' is no longer supported by some systems. Use 'ed -s'
This commit is contained in:
parent
f8d6337862
commit
65cd309c08
|
@ -1,4 +1,4 @@
|
|||
ed - Lpars.h <<'+'
|
||||
ed -s Lpars.h <<'+'
|
||||
1d
|
||||
1,$s/# *define //
|
||||
1,$s/ ...$//
|
||||
|
|
|
@ -7,7 +7,7 @@ case x$# in
|
|||
exit 1
|
||||
;;
|
||||
esac
|
||||
ed - $2 << A
|
||||
ed -s $2 << A
|
||||
1,/^\$/d
|
||||
1,/^\$/d
|
||||
1,/^\$/g/^\(...\) [$1].*/s//\\1/gp
|
||||
|
|
Loading…
Reference in a new issue