Debian Codegraph @

vendor/wikimedia/parsoid/tools/test.selser.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 domain=$1
4 title=$2
5 wt=$3
6
7 # Parsoid/PHP test
8 php bin/parse.php --domain $1 --pageName '$2' < $3 > $3.php.html
9 sedscip-shell system . . sed. 's/<\/body>/<!--BOO--><\/body>/g;' < $3.php.html > $3.php.new.html
10 php bin/parse.php --domain $1 --pageName '$2' --selser --oldtextfile $3 --oldhtmlfile $3.php.html < $3.php.new.html > $3.php.new
11
12 # Parsoid/JS test
13 nodescip-shell system . . node. bin/parse.js --domain $1 --pageName '$2' < $3 > $3.js.html
14 sedscip-shell system . . sed. 's/<\/body>/<!--BOOBOO--><\/body>/g;' < $3.js.html > $3.js.new.html
15 nodescip-shell system . . node. bin/parse.js --domain $1 --pageName '$2' --selser --oldtextfile $3 --oldhtmlfile $3.js.html < $3.js.new.html > $3.js.new
16
17 diffscip-shell system . . diff. $3.php.new $3.js.new