mirror of
https://github.com/eddyem/canon-lens.git
synced 2026-03-22 01:30:58 +03:00
new data
This commit is contained in:
9
00-logs/get_all_cmds
Executable file
9
00-logs/get_all_cmds
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# get commands list in all files (no args) or in given filelist
|
||||
|
||||
[ "$*" = "" ] && LIST="*.dat" || LIST="$*"
|
||||
|
||||
function upper(){ echo $1 | tr [:lower:] [:upper:]; }
|
||||
function hex2dec(){ echo "obase=10;ibase=16; $(upper $1)" | bc -l; }
|
||||
|
||||
./proc_historgram ${LIST}| awk '{print $2}' | sort -u| while read x; do echo "$x : $(hex2dec $x)"; done
|
||||
Reference in New Issue
Block a user