EXPECTED_ARGS=1 E_BADARGS=65 if [ $# -ne $EXPECTED_ARGS ] then echo "Usage: `basename $0` {path_to_platform_sub_dir}" echo "Example: ./hex2task.sh ~/chdk-trunk/platform/a810/sub/100b" exit $E_BADARGS fi 1. * 1) Create sed commands grep ^NSTUB $1/stubs_entry.S | grep 0x'[0|f][0|f]'| \ awk '{ printf("s/sub_%s/_%s/ ",toupper(substr($2,4,8)),substr($1,7))}' > /tmp/hex2task.out 1. * 2) Create patches for file in boot.c capt_seq.c movie_rec.c do done
| Graph IRI | Count |
|---|---|
| http://dbkwik.webdatacommons.org | 5 |