#!/bin/bash 

EXPSEQ=$(echo *.seq)

if [[ -z $EXPSEQ ]]; then echo "ERROR: can't find seq file"; exit -1; fi

./pltseqlen $EXPSEQ 4000

# jaswitch-6502-cc65_simple.input.stree.root-d1.edge-cnt.4000.pdf.dat
# find length of subsequence with ~15% of trace: 998

grep " 998 " jaswitch-6502-cc65_simple.input.stree.root-d1.node-edge-cnt

./pltsubseq $EXPSEQ 97833,99777
