I have a bash function using **od** command.
Now I'm trying to run in on OpenWRT and see that in has not od.
Also can't find it using install from opkg, because I can't find it.
Is there a possibility to install it manually?
I also know about **sed** but are not that familiar with it.
Is it possible to do this exact task:
function format {
#1=data type (like u1) 2=How much bytes 3=byte starting position in file 4=file
od -An -t $1 -N $2 -j $3 $4
}
Asked by Tschwen
(161 rep)
Nov 4, 2014, 03:33 PM
Last activity: Apr 6, 2019, 01:16 AM
Last activity: Apr 6, 2019, 01:16 AM