2 # This can take a file containing output produced by the replacement dump function in custom.js.example
3 # and break it into multiple files, one for each numeric dump prefix. Not perfect, since it'll truncate
4 # messages that aren't on one contiguous line.
5 for x in `grep '>>>>>>>>>>>>>' $* | perl -ne 'if ( />>>> .. (\d+) =/ ) { print "$1\n"; }'` ; do
8 grep '>>>>>>>>>>>>>' $*