Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (10 sloc) 0.473 kB
#!/bin/sh
# usage: build.sh data/some-file.tcp
# Do normal processing
cat $1 | python process-dump.py > packet_flight/data.pde
# Setup javascript viewer
cp packet_flight/data.pde packet_flight/js/data.js
# Clean out the junk
sed -i 's/NetworkNode \(.*\) =/\1 =/g' packet_flight/data.pde packet_flight/js/data.js
sed -i 's/NetworkNode node;.*$//' packet_flight/data.pde packet_flight/js/data.js
sed -i 's/void/function/g' packet_flight/data.pde packet_flight/js/data.js
Jump to Line
Something went wrong with that request. Please try again.