Doing a shell script like:
is the thing I want to do, but of course printf skips 0x00 and other none printable bytes.
right now I write a lot of temp files to parse things but I like to put the data into variables to avoid all those temp files.
thanx a bunch enlightening me
Code:
myvar=$(dd if="$1" bs=1 skip=10 count=16)
printf $myvar >test.file
is the thing I want to do, but of course printf skips 0x00 and other none printable bytes.
right now I write a lot of temp files to parse things but I like to put the data into variables to avoid all those temp files.
thanx a bunch enlightening me