mirror of
https://github.com/nginx/nginx.git
synced 2026-08-03 22:33:10 +00:00
using sed instead of perl
This commit is contained in:
parent
a6c91b11bf
commit
aa64c39b20
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue