summaryrefslogtreecommitdiff
path: root/free-bytecodes.sh
blob: 1f7e931e36ec41903107683a5bbf30ba909a598b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#

IN=$1

diff -U0 \
<(
  for i in `seq 0 255`; do
    printf "0x%02x\\n" $i
  done
) \
<(sed -n '/^ *$/d; s/#define [A-Z0-9_]* *//; p' $IN | sort | uniq)