mirror of
https://github.com/nginx/nginx.git
synced 2024-12-18 21:23:36 -06:00
using sed instead of perl
This commit is contained in:
parent
a6c91b11bf
commit
aa64c39b20
@ -10,7 +10,7 @@ define XSLScript
|
||||
com.pault.StyleSheet \
|
||||
-x com.pault.XX -y com.pault.XX \
|
||||
$(1) docs/xsls/dump.xsls \
|
||||
| perl -e 'undef $$/; $$_ = <>; s/(\n\n)+/\n/gs; print' > $(2)
|
||||
| sed 's/ *$$//;/^ *$$/N;/\n *$$/D' > $(2)
|
||||
|
||||
if [ ! -s $(2) ]; then rm $(2); fi; test -s $(2)
|
||||
endef
|
||||
|
Loading…
Reference in New Issue
Block a user