]> git.somenet.org - pub/jan/netsec2.git/blob - only_decimal.sh
asdf
[pub/jan/netsec2.git] / only_decimal.sh
1 #!/bin/sh
2
3 if [ "${#}" -ne 1 ]; then
4   echo "Usage: ${0} <inputfile>"
5   exit 2
6 fi
7
8 sed -e 's/"0x[a-fA-F0-9]\{4\} (\([0-9]\+\))"/"\1"/' ${1}
9
10